Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you have a static page on the front page of your site? If not then what is there? Can you describe what happened?

    Thread Starter hz_i3

    (@hz_i3)

    Do you have a static page on the front page of your site?

    Yes

    Can you describe what happened?

    Whenever I publish the custom front page, all pages are marked as gc (I went to the cache dir, and found all files are appended with .gc or something similar)

    Currently before I update the front page, I have to add return to the wp_cache_post_id_gc function in wp-cache-phase2.php. And then manually clear the front page cache by going there and then click the Delete Cache button (ah, this doesn’t seem to prune the cache by garbage collect it)

    I think because the front page has the url /, wp super cache will just mark everything in that dir as gc. I think the problem is around line 2945 (I modified the plugin, so can only give an estimated line number) in the wp_cache_post_id_gc function:prune_super_cache( $dir, true, true );

    Thanks @hz_i3. It does sound like a bug I’ll have to look into. Thanks for the explanation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update front page will gc all cache’ is closed to new replies.