Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

realityisterror

macrumors 65816
Original poster
my website (see sig) has my blog on the homepage...
however to see any changes on the site (for example after i make a new post or to check for comments) i have to clear my cache and reload it...
i fear that some people (very very few 😉 ) are not seeing any updates because they don't know to clear the cache...

so my question is: is there anyway i can force a page to "redownload" each time i navigate to it?

thanks for your help,
reality
 
i guess you will have to feed a cookie for each visitor's hard disk and tell that the page expires in one minute.
 
You need to either add a header to the http response or a tag like this to the top of the page:

<META HTTP-EQUIV="expires" CONTENT="0">

which should tell your browser to expire the page in it's cache right now.
 
robbieduncan said:
You need to either add a header to the http response or a tag like this to the top of the page:

<META HTTP-EQUIV="expires" CONTENT="0">

which should tell your browser to expire the page in it's cache right now.

i'll give it a shot! thanks...

edit: here's the deal... i use shorturl.com's redirection service... it opens my site (armin.anyxhost.com) in a frame... i figured out that putting that line in the head of my homepage works if i type in "armin.anyxhost.com" but doesn't work if i type in "armin.vze.com"... i need to change shorturl's frameset page, but i don't think i can do that... i'll look in my settings...

edit again: i turned off url masking and it works now... i still have to load the page and then hit reload, but i don't have to empty the cache... maybe if it had been longer than 5 seconds since i last loaded the site, i wouldn't have had to press reload? anyway, thanks 🙂

reality
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.