Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
RE: [help] to clear the http web requests
Simplest way is to use no-caching headers.
There are also some tricks, like using a random get parameter in the url to trick the cache into thinking it's a new url.
quote:Originally posted by Wikipedia
Alternatively, it is possible to force the XMLHttpRequest object to retrieve the content anyway, as shown in this example.
req.open( "GET", "xmlprovider.php" );
req.setRequestHeader( "If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT" ); //This line doesn't work.
req.send( null );
Another method is to add a random string on the end of the url in the query: