SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Sep 19, 2003, 10:21 #1
- Join Date
- Jan 2003
- Location
- New Jersey
- Posts
- 15
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
cached file on aol, can i use java script or something.
on a clients site, i am gettign one file that seems to be cached by aol, and i can not seem to get aol to get the new file. he dials into aol strait, and there is no company sever to worry about. so the client sees the old file and gets on my case. just wondering, is there a way to maybe put something in the file header, to make aol get the new file? it has been about 4 days. all the other files that were changed worked out okay just one is not working. i have checked the browser and tried to clear the cache in ie, and still no luck. the client dials in, so there is no company server to worry about...
suggestions?
-
Sep 19, 2003, 11:43 #2
- Join Date
- Jul 2002
- Location
- Dallas, TX
- Posts
- 2,900
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes, but javascript cannot accomplish this. HTTP headers come from the server - javascript is client-side, being run after all headers have been sent.
You'll need PHP, ASP, or similar to get this done.
Example, my javascript bandwidth test uses PHP to serve the image, non-cached, so the page can be refreshed to run the test again w/o deleting the local cache.
-
Sep 19, 2003, 13:38 #3
- Join Date
- Jan 2003
- Location
- Calgary, Canada
- Posts
- 2,063
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
you could use javascript to make the file random using a query string, not sure if this would be something you want to do, but it's an option.
(I'd look into setting the headers on the server-side though)Who walks the stairs without a care
It shoots so high in the sky.
Bounce up and down just like a clown.
Everyone knows its Slinky.
Bookmarks