<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Wpforo Cache / S3 Uploads - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 14 May 2026 11:03:55 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103748</link>
                        <pubDate>Tue, 04 Jul 2023 16:51:09 +0000</pubDate>
                        <description><![CDATA[@robert Thanks!]]></description>
                        <content:encoded><![CDATA[@robert Thanks!]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103748</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103746</link>
                        <pubDate>Tue, 04 Jul 2023 11:42:36 +0000</pubDate>
                        <description><![CDATA[Hi @sc89me,
It&#039;s done. This code will be available in the next version:
function __construct() {
	add_action( &#039;wpforo_after_init_folders&#039;, function( $folders ) {
	$cache_dir = apply_filt...]]></description>
                        <content:encoded><![CDATA[<p>Hi @sc89me,</p>
<p>It's done. This code will be available in the next version:</p>
<pre contenteditable="false">function __construct() {
	add_action( 'wpforo_after_init_folders', function( $folders ) {
	$cache_dir = apply_filters('wpforo_cache_dir', $folders, $folders);
			
</pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103746</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103744</link>
                        <pubDate>Tue, 04 Jul 2023 10:50:16 +0000</pubDate>
                        <description><![CDATA[I already tried using this before starting this thread. This is an &quot;action&quot; this doesn&#039;t work in the same way as filters do. It doesn&#039;t allow you to &quot;change&quot; anything only trigger an action ...]]></description>
                        <content:encoded><![CDATA[I already tried using this before starting this thread. <br /><br />This is an "action" this doesn't work in the same way as filters do. <br /><br />It doesn't allow you to "change" anything only trigger an action to happen at that point.]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103744</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103627</link>
                        <pubDate>Wed, 28 Jun 2023 13:12:27 +0000</pubDate>
                        <description><![CDATA[@sc89me,
You can use this hook for it, but not that the function in it is an example, code that would crush the page but show the cache file path, so you need to manage it by your needs.
P...]]></description>
                        <content:encoded><![CDATA[<p>@sc89me,</p>
<p>You can use this hook for it, but not that the function in it is an example, code that would crush the page but show the cache file path, so you need to manage it by your needs.</p>
<p>Please note. We don't know if this will work without problems.</p>
<pre contenteditable="false">add_action( 'wpforo_after_init_folders', function(){
    //var_dump(WPF()-&gt;folders);
    //die;
} );</pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Chris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103627</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103623</link>
                        <pubDate>Wed, 28 Jun 2023 11:34:27 +0000</pubDate>
                        <description><![CDATA[but we don&#039;t have any option to do anything.

I modified : wpforo\classes\Cache.phpAdded: 

$cache_dir = apply_filters(&#039;wpforo_cache_dir&#039;, $folders, $folders);
To the co...]]></description>
                        <content:encoded><![CDATA[<blockquote>
<p><span>but we don't have any option to do anything.</span></p>
</blockquote>
<p><br />I modified : wpforo\classes\Cache.php<br /><br />Added: </p>
<div>
<pre contenteditable="false">$cache_dir = apply_filters('wpforo_cache_dir', $folders, $folders);</pre>
<p><br />To the construct: </p>
<div>
<pre contenteditable="false"><span>function </span><span>__construct</span>() {<br />   <span>add_action</span>( <span>'wpforo_after_init_folders'</span><span>, </span><span>function</span>( <span>$folders </span>) {<br />      <span>$cache_dir </span><span>= </span><span>apply_filters</span>(<span>'wpforo_cache_dir'</span><span>, </span><span>$folders</span><span>, </span><span>$folders</span>)<span>;</span></pre>
</div>
<p>This let me change the directory to another directory, it took the query count on forum load down from 1000+ to 500 queries and shaves 2-3 seconds off page load. <br /><br />Can this be in the next release? </p>
</div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103623</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103578</link>
                        <pubDate>Mon, 26 Jun 2023 10:28:47 +0000</pubDate>
                        <description><![CDATA[Yes, that really slow. I&#039;m sorry to say this, but we don&#039;t have any option to do anything.]]></description>
                        <content:encoded><![CDATA[<p>Yes, that really slow. I'm sorry to say this, but we don't have any option to do anything.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Chris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103578</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103572</link>
                        <pubDate>Mon, 26 Jun 2023 08:30:41 +0000</pubDate>
                        <description><![CDATA[Well when its on the load times can be over 100 seconds. When its over they are 4-5 seconds which is why would would like to get it working in order to see if it can speed this up. @Chris]]></description>
                        <content:encoded><![CDATA[<p>Well when its on the load times can be over 100 seconds. When its over they are 4-5 seconds which is why would would like to get it working in order to see if it can speed this up. @Chris</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103572</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103483</link>
                        <pubDate>Fri, 23 Jun 2023 10:00:13 +0000</pubDate>
                        <description><![CDATA[@sc89me,
How does the forum work with disabled cache?]]></description>
                        <content:encoded><![CDATA[<p>@sc89me,</p>
<p>How does the forum work with disabled cache?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Chris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103483</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103447</link>
                        <pubDate>Thu, 22 Jun 2023 12:20:43 +0000</pubDate>
                        <description><![CDATA[we don&#039;t have any option to change the folder of the cache.

I see you don&#039;t but are you saying as plugin authors you can&#039;t create such an option or you won&#039;t create such an option? Lookin...]]></description>
                        <content:encoded><![CDATA[<blockquote>
<p><span>we don't have any option to change the folder of the cache.</span></p>
</blockquote>
<p>I see you don't but are you saying as plugin authors you can't create such an option or you won't create such an option? <br /><br />Looking in the Cache class in the plugin it doesn't seem overly difficult to change this to another location but because its (all the filters) are wrapped up in the class and can't be accessed from another plugin / theme it seems impossible to modify this without modifying the core files in your plugin. <br /><br />I will check for the ability to exclude paths in S3 Uploads plugin but to my knowledge they don't have this but I will go investigate. <br /><br /><em>EDIT: Just checked they state there is no method of excluding a path and you have to change the path on the thing trying to store files. So I guess this is an incompatibility with your plugin and S3 then as far as cache goes. </em><br /><br /></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>sc89me</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103447</guid>
                    </item>
				                    <item>
                        <title>RE: Wpforo Cache / S3 Uploads</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103445</link>
                        <pubDate>Thu, 22 Jun 2023 11:41:34 +0000</pubDate>
                        <description><![CDATA[Hi @sc89me,
We understand the issue, but the problem is that we don&#039;t have any option to change the folder of the cache. 
Can you check, maybe, there is an option to exclude a folder? If n...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@sc89me,</span></p>
<p>We understand the issue, but the problem is that we don't have any option to change the folder of the cache. </p>
<p>Can you check, maybe, there is an option to exclude a folder? If no, please contact the creators with the issue. </p>
<p>I'm sorry but we can't do anything from our side.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Chris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/wpforo-cache-s3-uploads/#post-103445</guid>
                    </item>
							        </channel>
        </rss>
		