database error pages cached – please check db before caching
-
SUMMARY:
During database connection failure, WP Fastest cache may cache the error pages for any given URL.BACKGROUND:
Overnight, some unknown circumstances caused our database to go offline momentarily. During the outage, a bot or human must have hit a bunch of URLs on our site and it cause the database connection error pages to be cached!This created an interesting situation. The public and company saw database connection error pages, but when they reported to me, I saw the site online because I’m logged in and not seeing cached pages.
RESOLUTION:
Clearing the entire site cache was our workaround; public users could then see the site properly.REQUEST:
I would like to request a new feature for your plugin which is the ability to NOT CACHE when any major error is at play. For starters, not building cache files while the database cannot be reached would be ideal.If you would like me to submit a patch, just let me know the best way to do so. I’m pretty sure I could code this.
- The topic ‘database error pages cached – please check db before caching’ is closed to new replies.