I'm asking this because when I edit my website's code and styles, I like to test and see the changes I make immediately.
Whenever I make a small edit (like changing a color), my browser doesn't seem to "notice" the changes right away (not until about 15 min. or so have passed, and this applies to both IE and FF, so I didn't think it was a browser related issue).
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System
Do we check this through the server control panel (cpanel) somewhere? I looked at the installed perl modules, and this is what I found related to HTTP:
Try using Ctrl+F5 to refresh the page, it will (should) override the Expires header.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System
Try using Ctrl+F5 to refresh the page, it will (should) override the Expires header.
Didn't override for some reason.... (Or it did, but the changes I made to the code weren't affected by it or something, as it still looked like the original styles.)
I think I'm in way over my head with this Expires Header directive. I've checked out those links, but they don't say "where" to modify the time, or what I would need to override it for the time being.
Am I just suppose to insert code like this into the webpage being edited itself?
Code:
<meta http-equiv="Expires" content="(the date I want)" />
Yep, that would work. Set the date and time to be Now()
or in htaccess use;
header set Expires "0"
put it inside a FilesMatch directive to affect only certain extensions.
Bearing in mind it will put the production server load up a bit as every request will serve the files rather than the UA using it's locally cached version.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System
I contacted my host and it seems like they don't have anything like that installed, they recommended I use a site like this to test out whether my ISP had the proxy cache or not: http://pagewash.com/