Support » Plugin: WP Super Cache » WP Super Cache regenerating pages on every reload

  • Resolved Andrew Hudson

    (@photosecrets)


    Hi. Thanks for making this plugin.

    Every time I reload my page, WP Super Cache regenerates the page. Some of my pages take a long time to generate (e.g. 10 seconds, as the PHP code is getting data from Wikipedia and other sites) so regenerating pages defeats the purpose of having a cache.

    A sample notation is:
    <!– Dynamic page generated in 4.670 seconds. –>
    <!– Cached page generated by WP-Super-Cache on 2013-12-05 18:02:17 –>
    <!– Compression = gzip –>
    ( From the page http://photosecrets.com/paris )

    Settings include:
    Cache hits to this website for quick access. (Recommended)
    Use mod_rewrite to serve cache files. (Recommended)
    Make known users anonymous so they’re served supercached static files.
    Cache rebuild.
    Preload mode

    Thanks in advance for your help,
    Andrew

    http://wordpress.org/plugins/wp-super-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Andrew Hudson

    (@photosecrets)

    FYI, I think I fixed it.

    In the root .htaccess file, I deleted all four occurrences of the first rewrite condition:
    RewriteCond %{REQUEST_URI} !^.*[^/]$

    Instantly, the supercache worked. Now my site is lightning fast. Thanks!

    Hi Andrew,

    I’m having the exact same problem. Did you ever find out why deleting that .htaccess rule fixed the issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Super Cache regenerating pages on every reload’ is closed to new replies.