J
jetmarc
Hi.
I have a webcam page (video surveillance) that refreshes 9 images
once a second (1000ms rate). It uses javascript to change the
image.src
To trick the caching mechanism of the browser and force a fresh
download from the IP camera, a random tag is appended to the URL.
Unfortunately MSIE6 (WinXP) caches each and every frame ON DISK.
That is, while the page is displayed, the harddrive stores 9*20kb
or ~200kb per second. And worse, MSIE lets the temp folder grow
very big, resulting in reduced system performance (especially
when booting up after a work-day of video surveillance).
What can I do about it? The life-time of an image is 1 second,
it will never be used again. I don't want the browser to store
it on the harddrive.
I tried this on my page:
<HEAD> <META http-equiv="Pragma" content="no-cache"> </HEAD>
but it seems to work only for the HTML portion of the page, not
for the image.src loading.
I tried to locate a RAM drive where I can point the MSIE6 temp
folder to, so that at least it won't cache on the harddrive,
but couldn't find any solution (for WinXP) either. And also, I
went for HTML/JavaScript to NOT have to install anything on the
client machine
Can you point me to a solution for this problem?
Marc
I have a webcam page (video surveillance) that refreshes 9 images
once a second (1000ms rate). It uses javascript to change the
image.src
To trick the caching mechanism of the browser and force a fresh
download from the IP camera, a random tag is appended to the URL.
Unfortunately MSIE6 (WinXP) caches each and every frame ON DISK.
That is, while the page is displayed, the harddrive stores 9*20kb
or ~200kb per second. And worse, MSIE lets the temp folder grow
very big, resulting in reduced system performance (especially
when booting up after a work-day of video surveillance).
What can I do about it? The life-time of an image is 1 second,
it will never be used again. I don't want the browser to store
it on the harddrive.
I tried this on my page:
<HEAD> <META http-equiv="Pragma" content="no-cache"> </HEAD>
but it seems to work only for the HTML portion of the page, not
for the image.src loading.
I tried to locate a RAM drive where I can point the MSIE6 temp
folder to, so that at least it won't cache on the harddrive,
but couldn't find any solution (for WinXP) either. And also, I
went for HTML/JavaScript to NOT have to install anything on the
client machine
Can you point me to a solution for this problem?
Marc