Posted in

Cache Fun – Fixed Without Knowing It!

Cheesy!

Remember the Microsoft Edge mysteries yesterday? Well, I fiddled around with another computer and found Edge worked fine on it. I looked deeper at the plugins already installed with WordPress on this new hosting server, some were trying to “reinvent the wheel” in reducing the size of each page downloaded.

Certain parts of HTML can be loaded in different places with other HTML code. One plugin did this at the top of the page, another by default did the same at the bottom. I got suspicious while Edge was misbehaving as the page rendered perfectly for a moment, then went bonkers. It loaded correctly until the offending plugin did its thing to the CSS (Cascading Style Sheet) at the bottom not knowing or caring that another preinstalled plugin had combined it in a different manner with some code at the top. 

Firefox could handle this by ignoring the error, but Edge couldn’t….and it held it in cache for several hours. As expected, once I figured it out, Edge and Chrome (mentioned in a moment) worked fine this morning. The second computer I tried Edge on didn’t get the erroneous code because I had already fixed the problem. So, Firefox on Windows and Linux both had no issues. Chrome fell off the same cliff Edge did.

It now seems that Edge on one computer does not look for updated pages, even though I clear its entire cache and the site’s cache. Edge works fine on another Windows computer! Firefox still works fine on both Windows and Linux. My guess is that there’s a setting on this computer that I haven’t been able to find. Even so, it is a mystery why Edge and Chrome act up and Firefox doesn’t. I guess a bit of study is in order.

If you saw something strange when this page loaded, I’m trying to break things again! I’m playing with animations when the page loads. Most likely, I won’t be doing this on many pages, but there may be one that is both interesting and not annoying. We’ll see how that goes!!

Pictured is my supervisor. Who knows why he’s looking so pleased – I probably don’t want to know……