One of the most recent minor problems while test writing code for a site (Desire) was avoiding cached content to be shown on refreshing the browser. When testing, a page is uploaded umpteen times with minor edits in the page. Till some days ago this was not a problem. Since the last few days, Firefox, the browser I use to view pages and to upload files using the add-on(FireFTP), started showing cached content each time I hit refresh or F5. I tried to find some ways to avoid this and primarily the PHP cache control scripts available online offered some solutions where they set the header to not show cache content. None of that worked and I started fiddling with the browser’s(Firefox) settings. Nothing happened. Then I finally opened IE and accessed the Tools > Internet Options

tools.JPG

I clicked on Settings and change the radio button for ‘Check for newer versions of stored pages’ to ‘Every visit to the page

tools2.JPG

Thats it! Now every time the page loads, it loads with the last edited changes regardless of how small they were and how small was the page! The only hassle is, I will have to change this setting back to its default when I need to surf the net or check mails etc. But thats a small price to pay!