Archive for June 23rd, 2007

Browser cache is confusing

Yesterday, I was working on a website and had two versions of the same file. When I was ready to put the new version up for testing, I deleted the old one and put in the new one. I refreshed my browser window. No change! I pressed Ctrl+F5. I was still seeing the old version! I replaced the old file again, making sure to overwrite the old copy. I refreshed a few times and used Ctrl+F5 a few times to “force refresh.” No go. For about 5 minutes I was totally confounded. Why was the old version of my file still showing up, no matter how much I tried to refresh?! As a last resort, I went to Tools -> Clear Private Data in Firefox, and cleared my cache. One last refresh, and– BAM! The beautiful new version finally appeared. Another example from today after the fold…

Continue reading ‘Browser cache is confusing’