nightmares of hosting

Associate
Joined
8 Oct 2005
Posts
97
Location
Bristol
bit of a nubbins when its come to hosting, as long as it works im happy but ive been working on site that has some crazy cache going on (anywhere from 1 - 12 hours to update !!!)

any ideas on how i can bypass this? even if i add additional headers to the page to set the cache control im stuck with the original version for the next few hours at least

next time i hear the words "dont worry we allready have hosting sorted" im going to be out the nearest window like a shot
 
Few things...are you FTPing directly to the site? Are you *certain* you are force-refreshing your browser? Opera can be a bit pushy...it's something along the lines of Ctrl+F5 in most browsers.

Are you using a proxy at all? What network are you on? ISP?

There's no reason that things should be cached for so long or at all, if you set the proper cache-control:

Code:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
 
just found this

If you find that you're still getting the old page, after clearing your browser's page and even deleting the file from the server, then IIS has it cached. You can clear this by going into the IIS Admin interface and unchecking "Cache ISAPI Applications", hitting apply, uploading the new file, and turning the setting back on. You can also do this by issuing an iisreset call or unloading your application, at the cost of interrupted service. If you are using IIS 6.0, you might consider reading these articles on MSDN, to learn more about how caching ISAPI extensions works in IIS, and how you can control it programmatically (instead of handling it like above, in every page):

most frustrating experience ever :mad:


only way to solve this is with beer, hopefully i will have completely forgotten about it within the hour
 
Back
Top Bottom