• Resolved assertivekids

    (@assertivekids)


    Good afternoon,

    I had been using your plugin on a site that has thousands of posts on it.

    I have been using your plugin for quite some time, and apparently, every single cached page is placed in the exact same folder on the server, leading to a ballooning folder (to the point where I can’t even view the contents of it with FTP).

    Is there any way to prevent this, such as by rewriting the plugin to only cache a certain finite number of pages in each cache folder, such as by having multiple cache folders?

    Use of your plugin caused my hosting company to suspend the site, so I have at this point disabled the plugin. However, I want to be able to use the plugin, as it had made the site load a little bit faster. If I cannot fix this issue, I will not be able to use the plugin though, so I would like to know if there is a way to fix this.

    The problem has to do with the inodes limit on my hosting account, of 1000 per folder, which this plugin is not aligned with.

    To clarify, the issue is that on a site with thousands of posts, every cached file is placed in the same folder, causing that folder to balloon, and I want to know if there is a way to limit the number of pages that the plugin will cache in each cache folder, such as a limit of 1,000 pages.

    Please let me know if there is any solution to this issue, as I also use this plugin on several other sites where the same issue is likely to become a problem. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter assertivekids

    (@assertivekids)

    Could anyone help me to create a mod_rewrite statement in htaccess using Apache so that the plugin puts each file in a different folder based on the first letter of the file’s name, such as folder A, B, C, etc.

    And how would I use the static html file creation in your plugin? Any help would be greatly appreciated. Thank you.

    I presume all the URLs on your site are in the form “host.tld/some-string-for-a-slug/” ? There’s no date in there at all?

    On most blogs the date fields in the URL create new directories in the cache folder.

    You could try not caching so many pages. Are they all being requested all the time? Reduce the expiry time so they’re recycled faster.

    If you must absolutely cache every page you could possibly look into using a memcached based plugin like Batcache.

    Thread Starter assertivekids

    (@assertivekids)

    Hi, thank you for your reply. Is there an instruction guide for how I can cache fewer pages?

    Or how I would reduce the expiry time? I am not so well versed in using the dashboard, but if you can point me in the right direction, I would appreciate it.

    We don’t necessarily need to cache every page, so the suggestions you made would be helpful.

    I just am not sure how to implement them. Thank you for your help.

    Go to the Advanced settings page and look for the Expiry time and garbage collection settings.

    Reduce the cache timeout, and then schedule checks for stale files more often. I can’t suggest what’s right for your server as it depends on how busy your site is.
    Don’t use the preload functionality either, as that will just create too many cache files for your server.

    Hello all,
    I inherited a site from someone and the weight of the files is still a mystery. I have to clear the cache on a daily from nothing less than 2GB per day. Please how do I locate the plugin responsible for the generation of these cache files?

    Thanks for your help.

    Go into Settings->WP Super Cache and click on Advanced. Then scroll down to “Garbage Collection” and reduce the “Cache Timeout” to 600, and set the scheduler to 180 seconds.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Too Many Files In One Place On Server’ is closed to new replies.