WordPress.org

Forums

WP Super Cache
[resolved] Supercache Could Not Write to .tmp - but it's working sometimes (4 posts)

  1. niska
    Member
    Posted 4 years ago #

    After a while WP-Super Cache stops working. Currently there is "only" 32156 pages in the cache. But I have about 40000 posts. I'm using Preload to cache all pages.

    When I check the source of a non cached page I see:

    <!-- Dynamic page generated in 0.737 seconds. -->
    <!-- File not cached! Super Cache Couldn't write to: wp-content/cache/supercache/www.domain.fi/post.html/8604083174cbc2097d24310.09671471.tmp -->

    This is what WP-Super-Cache tells me about my cache:

    Cache Contents
    WP-Cache (36.00KB)
    2 Cached Pages
    0 Expired Pages
    WP-Super-Cache (693.02MB)
    32156 Cached Pages
    0 Expired Pages
    Too many cached files, no listing possible.

  2. niska
    Member
    Posted 4 years ago #

    I've talked to the hosting provider. They say they're using EXt3, which only handles 32000 files in one folder.

    Any plans of not putting all the files in the same folder?

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 4 years ago #

    Crikey. The directory structure depends on your permalink structure. If you had "/yyyy/mm/dd/postname/" you'd have no problem as there would be directories reflecting that url structure.

    Unfortunately there are no plans to change this as it would only be required by a tiny number of users and it would be quite an intensive change in code. Your best bet is to preload 20,000-30,000 pages and keep an eye on it. If all those pages are preloaded your remaining pages will be served extremely quickly as your server will mostly be serving static files.

  4. niska
    Member
    Posted 4 years ago #

    Changing the permalink structure solved my problem. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic