Results 1 to 1 of 1
Thread: Ajax and Browser Cache
Dec 13, 2006, 06:17 #1
Ajax and Browser Cache
When I request a particular web page, the browser first tries to load the page from its cache, rather than submitting a new HTTP request.
If I use a php url I wil use something like this
myRandom=parseInt(Math.random()*99999999); myRequest.open("GET", url + myRandom, true);
myRand= + new Date().getTime();
I can add HTTP headers to the data returned by server-side routines, intended to tell the browser not to cache a particular page,but different browsers have different cache support different header declarations, making it difficult to ensure that pages are not cached.
What I can do in this situation ?