ZenphotoCMS Forum
Static Cache Not Caching - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Static Cache Not Caching (/thread-11340.html)



Static Cache Not Caching - Ipstenu - 2013-09-11

The other day I made a major change to some theme code, so I purged the static cache. It has not rebuilt since then. It can create the folders in cache_html, but they remain empty no matter what. I tested by opening an Incognito Window in Chrome and surfing around, follow by logging out and deleting cookies, and ditto

  • There are no errors in my PHP error log
  • There are no errors in my debug log

The last change I made was upgrading PHP and ImageMagick - I [i]did not[/i] test the cache at this time.

My server's tough enough to survive (for now) without it, but it's perlexing that this just stopped working without notice, and without error. I'm not even sure where to start looking at this point.




Static Cache Not Caching - acrylian - 2013-09-11

It of course does not trigger if you are logged in. So maybe you don't get any traffic? :-)

Sorry, without any proper error we most likely cannot help. The cache is working since there has been worked just recently for 1.4.5.2.




Static Cache Not Caching - Ipstenu - 2013-09-11

10k hits a day says the googles and as mentioned, I logged out too.

I also turned off all other plugins and switched to a default theme.

This is why it's perplexing! Is there a way I can force everything from the cache extension to log?




Static Cache Not Caching - Ipstenu - 2013-09-11

Or I can reboot the server and it magically starts working.... Huh? Okay, why does it think I'm logged in when I'm not?




Static Cache Not Caching - acrylian - 2013-09-11

It should really not do that. I have no idea especially if there are no errors anywhere…




Static Cache Not Caching - Ipstenu - 2013-09-11

AHAH! CloudFlare. As soon as that was turned off, it started working.

F---noodles. Well, yet another reason I don't want to use it. I think it's munging the source somehow.




Static Cache Not Caching - acrylian - 2013-09-11

Since we use that as well on our site, our server admin mentioned it does cache itself already (you can turn that off as well he said).




Static Cache Not Caching - Ipstenu - 2013-09-11

Eh, I'm having a hard time with cache purging in a way that doesn't make me want to drink. Until I can write an extension that lets me purge a page via a click, it's a PITA to flush the pages I need to when I do a coordinated update.

This setup I have is convoluted, and that's absolutely why proxy services are problematic for what I'm doing. I'm not shocked to find out this was an issue too. You should see MediaWiki