|
|
|
|
|
|
![]() |
#1 |
Mean people suck, nice people swallow, are you mean or nice?
|
Clearing cache
I have Windows XP Pro and need to clear out any cache that might hold visited web sites, including html pages I'm working on. I went into "Control Panel" and went to "Internet Options" and deleted cookies and temporary internet files, and cleared the "History" folder. I'm still seeing a page on line that should have changes but the changes don't show up, I'm still seeing the old page. Same thing for an html page I'm working on. Where else can I make changes so only the new page shows up?
Thanks! |
![]() |
![]() |
![]() |
#2 |
That which does not kill us, will try, try again.
|
I don't use Windows, so this may be different for you, but sometimes I've found that with Explorer, stylesheets are not cleared by doing anything except quitting the browser. I don't know if this will apply for you, it may not be related to the changes you're trying to make, but since no one's replied yet, I thought I'd pass this along. If you're using an external stylesheet, the one work-around I use when I can't see changes I've made is to load the changed stylesheet directly into the browser. What I mean is put the address of the external stylesheet into Explorer so you're opening the stylesheet for browsing. Once you've done that, you can reload your html page and you should see the changes made.
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
![]() |
![]() |
![]() |
#3 |
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
|
Are you using a proxy or cache server?
They might have the ttl set high - You can add coding that will prevent this on your pages. |
![]() |
![]() |
![]() |
#4 |
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
|
How do I make my website cache-server aware?
Content Expiration In order to make your Web Site Cache Server Aware, you need to put a content expiration date/time in the META tags at the beginning of your HTML. This needs to be done for every page in your Web Site. META tags are put in the HEAD section of your HTML code. Here are some examples of code that will help you add content expiration to your site. You can instruct the browser and server cache how many seconds to wait before reloading the page: META HTTP-EQUIV="refresh" CONTENT="600" This example would refresh every 600 seconds or 10 minutes. You can set any value for the seconds (0 and up) You can set a date for the browser and server cache to reload your site: META HTTP-EQUIV="expires" CONTENT="Fri, 30 Oct 2000 23:00:00 GMT" The format is this: DAY, DATE MONTH YEAR HOUR:MINUTE:SECONDS GMT The time must be Military Time (00-23) for hours and 00-59 in the minutes and seconds portion. It also must be in GMT format. You can avoid caching by using an expired date as your expiration time: META HTTP-EQUIV="expires" CONTENT="Mon, 24 Oct 1994 1:00:00 GMT" Or avoid caching by using the "pragma" value: META HTTP-EQUIV="pragma" CONTENT="no-cache" |
![]() |
![]() |
![]() |
|
|