Homepage cache file is generated but cannot be found.
Caching is working perfectly for all pages of the site other than the homepage. I’ve monitored the debug log and can see that the cache file is created successfully (and I’ve confirmed its created on disk), but when its reloaded wp-super-cache cannot find it and recreates it. See log output below:
10:46:04 /blog/ supercache dir: /srv/www/www.xvpn.com/public_html/blog/wp-content/cache/supercache/www.xvpn.com/blog/ 10:46:04 /blog/ No wp-cache file exists. Must generate a new one. 10:46:05 /blog/ In WP Cache Phase 2 10:46:05 /blog/ Setting up WordPress actions 10:46:05 /blog/ Created output buffer 10:46:05 /blog/ Output buffer callback 10:46:05 /blog/ Anonymous user detected. Only creating Supercache file. 10:46:05 /blog/ Gzipping buffer. 10:46:05 /blog/ Writing non-gzipped buffer to supercache file. 10:46:05 /blog/ Writing gzipped buffer to supercache file. 10:46:05 /blog/ Renamed temp supercache file to /srv/www/www.xvpn.com/public_html/blog/wp-content/cache/supercache/www.xvpn.com/blog/index.html 10:46:05 /blog/ Renamed temp supercache gz file to /srv/www/www.xvpn.com/public_html/blog/wp-content/cache/supercache/www.xvpn.com/blog/index.html.gz 10:46:05 /blog/ Writing gzip content headers. Sending buffer to browser 10:46:05 /blog/ wp_cache_shutdown_callback: collecting meta data. 10:46:05 /blog/ Did not write meta file: wp-cache-63f2700a2f8bd69e6109ef1fc90c1040.meta *1* *1* *1* 10:46:06 /blog/page/2 supercache dir: /srv/www/www.xvpn.com/public_html/blog/wp-content/cache/supercache/www.xvpn.com/blog/page/2/ 10:46:06 /blog/page/2 Served page from supercache file using PHP.
I’ve tried everything I can think of to resolve this including using the inotify package to monitor real-time file system activity to see what file name its looking for but it didn’t help. Any assistance would be greatly appreciated.
- The topic ‘Homepage cache file is generated but cannot be found.’ is closed to new replies.