Ddeele
11-17-2003, 11:55 PM
I want to use a scrolling background on a page. So far so good.
The problem arises if the browser has a cache setting like 'Check for newer versions of stored pages' = 'Every visit to the page'.
In that case, the background graphic gets reloaded from the server every time the page wants to move it. Very bad!
I've looked at several versions of this trick that are posted around (including one that costs money) and none of them seems to capture this condition.
There's probably no way to make the browser cache the graphic, but is there at least a way to force stopping repeated requests like this in a session?
The problem arises if the browser has a cache setting like 'Check for newer versions of stored pages' = 'Every visit to the page'.
In that case, the background graphic gets reloaded from the server every time the page wants to move it. Very bad!
I've looked at several versions of this trick that are posted around (including one that costs money) and none of them seems to capture this condition.
There's probably no way to make the browser cache the graphic, but is there at least a way to force stopping repeated requests like this in a session?