<?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>
									150,000 Cache Files - 6 bytes each - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 18 Aug 2026 02:06:07 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116992</link>
                        <pubDate>Mon, 19 Aug 2024 01:15:03 +0000</pubDate>
                        <description><![CDATA[I may have had 20-25 posts today.  3,800 unique visitors and 164K requests last 24hrs per CloudFlare but this is sitewide. Last I checked 18 users were online on the forums.
&nbsp;forum-sta...]]></description>
                        <content:encoded><![CDATA[<p>I may have had 20-25 posts today.  3,800 unique visitors and 164K requests last 24hrs per CloudFlare but this is sitewide. Last I checked 18 users were online on the forums.</p>
<div id="wpfa-0" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wpforo.com/wp-content/uploads/wpforo/default_attachments/1724030103-forum-stats.png" target="_blank" title="forum-stats.png"><i class="fas fa-paperclip"></i>&nbsp;forum-stats.png</a></div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>udpride</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116992</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116991</link>
                        <pubDate>Sun, 18 Aug 2024 22:56:11 +0000</pubDate>
                        <description><![CDATA[@udpride What are the statistics of your forum]]></description>
                        <content:encoded><![CDATA[<p>@udpride What are the statistics of your forum</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Ricsca</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116991</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116987</link>
                        <pubDate>Sun, 18 Aug 2024 12:54:59 +0000</pubDate>
                        <description><![CDATA[@udpride ,
I&#039;m sorry but I cannot write down the full documentation of reaction caching. This is not as you&#039;re trying to imagine or explain. The number of reaction cache files is equal to t...]]></description>
                        <content:encoded><![CDATA[<p>@udpride ,</p>
<p>I'm sorry but I cannot write down the full documentation of reaction caching. This is not as you're trying to imagine or explain. The number of reaction cache files is equal to the number of cached posts so it doesn't matter how many reactions you get per day and this doesn't make the reaction faster, instead it makes the whole forum faster starting from topic and post loading time.</p>
<p>Even the empty cache file makes one query less saying there is no reaction. So when posts re loaded they should not check in the database for reactions. This is all I'd explain about the reaction cache. Again if you have file limitation on your hosting you can disable the reaction cache as I instructed above.</p>
<p> </p>]]></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/150000-cache-files-6-bytes-each/paged/3/#post-116987</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116983</link>
                        <pubDate>Sat, 17 Aug 2024 21:15:21 +0000</pubDate>
                        <description><![CDATA[What other reactions constitute &quot;/reaction&quot; cache folder files other than the Like/Dislike button?
This is where some of my confusion lies because my forums might be getting 10 Likes/Dislik...]]></description>
                        <content:encoded><![CDATA[<p>What other reactions constitute "/reaction" cache folder files other than the Like/Dislike button?</p>
<p>This is where some of my confusion lies because my forums might be getting 10 Likes/Dislikes a day but Im generating 10s of thousands of /reaction cache files -- nearly all of them empty. </p>
<p><br />The same can be said for the other cache directories where many of the files just have what appear to be garbage null strings in them and not any relevant data. This is why a large portion of the cache files are 6 bytes.</p>
<p>Some of the topic and post cache files do have referencing forum data in them and are legitimate.</p>
<p> </p>
<p>What is the purge/expiration lifecycle on the cache directories?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>udpride</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116983</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116975</link>
                        <pubDate>Sat, 17 Aug 2024 12:12:28 +0000</pubDate>
                        <description><![CDATA[@levelbest,
There are more than ten type of caches in wpForo, they are being auto-purged for sure:

forum / single
forum / list
topic / single
topic / list
post / single
post / list...]]></description>
                        <content:encoded><![CDATA[<p>@levelbest,</p>
<p>There are more than ten type of caches in wpForo, they are being auto-purged for sure:</p>
<ol>
<li>forum / single</li>
<li>forum / list</li>
<li>topic / single</li>
<li>topic / list</li>
<li>post / single</li>
<li>post / list</li>
<li>member / single</li>
<li>member / list</li>
<li>tags</li>
<li>avatars</li>
<li>urls</li>
<li>options</li>
<li><span style="color: #ff0000">reactions</span></li>
</ol>
<p>Only one of them, the <span style="color: #ff0000">reactions</span> type, is not being auto-purged. They will be deleted if the reacted post is deleted. So this type of cache stores likes/dislikes and other reactions of each post, making the performance dozens of time higher if you have hundreds of thousands reactions. Sometimes forums have millions of reactions, each post may have dozens or hundreds of reactions, so you may have tens of thousands of reactions cache files, but they will make your forum very fast. </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Martin</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116975</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116973</link>
                        <pubDate>Sat, 17 Aug 2024 08:15:04 +0000</pubDate>
                        <description><![CDATA[Thank you for this solution, after following your advice it has now allowed me to run with caching re-enabled &#x1f44d; I have now quadrupled my previous number of free file allocations.]]></description>
                        <content:encoded><![CDATA[
<p>Please see my reply here:</p>
<p>https://wpforo.com/community/postid/116761/</p>
<p></p>
<p>Thank you for this solution, after following your advice it has now allowed me to run with caching re-enabled &#x1f44d; I have now quadrupled my previous number of free file allocations.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>cmw14</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116973</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116968</link>
                        <pubDate>Fri, 16 Aug 2024 17:53:12 +0000</pubDate>
                        <description><![CDATA[Still looking for an answer to this:
Is there purging process of these files or do they create in perpetuity without any automated cleanup?]]></description>
                        <content:encoded><![CDATA[<p>Still looking for an answer to this:</p>
<p><strong><em>Is there purging process of these files or do they create in perpetuity without any automated cleanup? </em></strong></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>levelbest</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116968</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/#post-116771</link>
                        <pubDate>Wed, 14 Aug 2024 10:24:17 +0000</pubDate>
                        <description><![CDATA[@robert OK thanks for the tips. I may try this. But long-term I may ultimately change my hosting plan to unlimited inodes. If 20M cache files a year would be considered a normal function of ...]]></description>
                        <content:encoded><![CDATA[<p>@robert OK thanks for the tips. I may try this. But long-term I may ultimately change my hosting plan to unlimited inodes. If 20M cache files a year would be considered a normal function of the Foro caching system, is there an expiration term on these cache files/folders?  Do files older than 30 days get auto purged or something? Or will they build up in perpetuity until the end of time?</p>
<p>When creating a backup archive of the entire node (web site) I will probably exclude these folders.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>udpride</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/#post-116771</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/paged/3/#post-116762</link>
                        <pubDate>Wed, 14 Aug 2024 05:33:08 +0000</pubDate>
                        <description><![CDATA[Please see my reply here:]]></description>
                        <content:encoded><![CDATA[<p>Please see my reply here:</p>
<p>https://wpforo.com/community/postid/116761/</p>]]></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/150000-cache-files-6-bytes-each/paged/3/#post-116762</guid>
                    </item>
				                    <item>
                        <title>RE: 150,000 Cache Files - 6 bytes each</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/150000-cache-files-6-bytes-each/#post-116761</link>
                        <pubDate>Wed, 14 Aug 2024 05:32:09 +0000</pubDate>
                        <description><![CDATA[Hi @udpride,
Cache files allow you to have many times better performance and keep small amount of requests to the database. Please note that running a not-small forum on a shared hosting is...]]></description>
                        <content:encoded><![CDATA[
<p>Im running into a rather severe issue with almost 150,000 WPForo cache files being created. </p>
<p><span>It looks like that around 150000 files are coming from /home/mydomain/public_html/wp-content/uploads/wpforo/cache/item directory, more specifically, its subdirectories: --- </span></p>
<p><span>110416 ./reaction </span></p>
<p><span>34240 ./url </span></p>
<p><span>6399 ./topic </span></p>
<p><span>3357 ./avatar</span></p>
<p></p>
<p> </p>
<p>Hi @udpride,</p>
<p>Cache files allow you to have many times better performance and keep small amount of requests to the database. Please note that running a not-small forum on a shared hosting is not a good idea.</p>
<p><span><span class="Apple-tab-span"> </span>1.<span class="Apple-tab-span"> </span></span><strong>Shared Hosting</strong>: Shared hosting providers limit the number of files (also known as inodes) you can have. This can range from <span style="color: #ff0000">100,000 to 500,000 files</span>, depending on the provider and plan. So if yours allows 200k files then this is one of the bad shared hosting service.</p>
<p><span><span class="Apple-tab-span"> </span>2.<span class="Apple-tab-span"> </span></span><strong>VPS (Virtual Private Server)</strong>: On a VPS, <span style="color: #ff0000">the number of files is generally limited by the amount of disk space</span>.</p>
<p><span><span class="Apple-tab-span"> </span>3.<span class="Apple-tab-span"> </span></span><strong>Dedicated Hosting</strong>: With dedicated hosting,<span style="color: #ff0000"> there are no specific limits on the number of files</span> as well.</p>
<p><span><span class="Apple-tab-span"> </span>4.<span class="Apple-tab-span"> </span></span><strong>Cloud Hosting</strong>: Cloud hosting often offers more flexibility and <span style="color: #ff0000">there are no limits</span> as well.</p>
<p> </p>
<p>However you can still use your shared hosting service by disabling the reactions and URL cache. It's the <strong>90%</strong> of all your cache files. Just use <a href="https://wordpress.org/plugins/code-snippets/" target="_blank" rel="noopener">Code Snippets</a> plugin to add this code or add this code directly in the <span style="color: #0000ff">functions.php</span> of your child theme:</p>
<pre contenteditable="false">add_filter('wpforo_cache_url', '__return_false' );
add_filter('wpforo_cache_avatar', '__return_false' );
add_filter('wpforo_cache_reaction', '__return_false' );</pre>
<p> </p>
<p>Then use your FTP client or some <a href="https://wordpress.org/plugins/search/file+manager/" target="_blank" rel="noopener">File Manager plugin</a> to delete the <span style="color: #ff0000">/cache</span> folder in this directory:</p>
<pre contenteditable="false">wp-content/uploads/wpforo/</pre>
<p>The <span style="color: #ff0000">/cache</span> folder will be re-created by wpForo for topic and posts caches, but the number of those files will be small.</p>
<p> </p>]]></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/150000-cache-files-6-bytes-each/#post-116761</guid>
                    </item>
							        </channel>
        </rss>
		