WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Resolved] [Plugin: WP Super Cache] Supercache Could Not Write to .tmp – but it's working sometimes

[Resolved] [Plugin: WP Super Cache] Supercache Could Not Write to .tmp – but it's working sometimes

  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

    Plugin Author Donncha O Caoimh

    @donncha

    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.

    Changing the permalink structure solved my problem. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: WP Super Cache] Supercache Could Not Write to .tmp – but it's working sometimes’ is closed to new replies.
Skip to toolbar