Missing stylesheets referenced in HTML – race condition?
-
I am trying to resolve a long standing issue with W3TC where after a full cache purge, loading a page results in missing CSS caused by stylesheet references in the HTML that 404. It doesn’t always happen, and I’ve suspected this is due to some sort of race condition where visitors are hitting the site while the cache in being purged.
Do you know what order the purge is done in? The way it currently fails, the CSS is missing even after repeatedly refreshing the page which make me wonder if the page cache is flushed before the CSS/JS cache? If so, is there a way to swap it around?
Another thought would be if the plugin could not generate cache files if it is currently purging the cache.
Thanks!
- The topic ‘Missing stylesheets referenced in HTML – race condition?’ is closed to new replies.