Caching Issues
-
It looks like about a year ago people were reporting similar issues. I have a code snippet for a shortcode that doesn’t seem to be updating to the latest saved version consistently. The other night it got so bad I had to roll back my website a couple days to get rid of it. I was getting a fatal error for the entire public site. It seemed to be because it believed I had loaded another snippet with the same procedure name, even though it was just a resave of the same snippet.
My restored backup got me back on track with my older production version working. But now this morning I’ve saved a revised version I tested as working, but it once again seems to be using the older version. I use Siteground’s Speed Optimzer plug for caching. I had the CDN turned on during the major critical error period but I’ve since disabled that just in case it was the culprit. Of course I also did a lot of Speed Optimzer and browser cache purging. Eventually I moved to using an Incognito window to test the page where the old code seems to be persisting.
I love this plugin. It makes deploying code (which I’m new at with PHP) very simple. Any suggestions how to sleuth this old version persistence?
You must be logged in to reply to this topic.