You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed after updating from Zencache Pro to Comet Cache that the Auto Cache Engine runs, however, it doesn't actually save any of the files. I can see in the cc-auto-cache.log that it runs every 15 minutes without errors loading many pages but none of the files are being saved in the /cache/comet-cache/cache/http/ directory. If I manually goto a web page it will cache it and save it properly. Wondering if anyone else is having this issue? Thanks
The text was updated successfully, but these errors were encountered:
@digitalhexcode Thanks so much for the report. It looks like this is a bug.
The issue is that we are mixing two different constants in the Auto-Cache Engine code (SLUG_TD and GLOBAL_NS) when we should be using just one or the other. The reason this wasn't an issue in ZenCache is that those two constants happened to have been set to the same thing (zencache).
When we rebranded the code for Comet Cache (which has a space in the name), SLUG_TD was set to comet-cache while GLOBAL_NS was set to comet_cache (hyphen vs underscore). That difference caused the Auto-Cache Engine to no longer work as expected, as it was setting SLUG_TD in one place but then looking for GLOBAL_NS to make sure it should run in another place.