I think I’ve ranted (mildly) about this before.
I hate web browsers – different ones will render markup differently, requiring hacks to get around the borked behaviour. However, that has nothing on what Firefox just did to me for about an hour. Load a page in my development environment. Everything looks right. Click on one of the links that performs an action, sets a message in the session, and hands back to the code to render the message and update the page. That works. Click refresh – the message should go away (and the exact same code on other pages has always worked). The message doesn’t go away.
Check the contents of the session – the message area is emptied, which is correct, so there’s no content to be displayed. Hold down Shift and click reload. Message is still there. Check the server side cache of the template – the message isn’t there. View source, the message is there. The only thing that’s changed since I was last testing this code was a Firefox update.
Set Firefox’s cache to 0, and the problem goes away.
I hate web browsers.
Comments
Leave a comment Trackback