IE cache - which trafic in case of cached data ?

K

kona_iron

Hello,
I would like illustrate my question by an example.
My WEB page have a gif, say toto.gif
This toto.gif is now in my IE cache with an expired time to 12h
During these 12 hours when IE try to access the toto.gif it takes it
from the cache.
But it is any traffic between IE and my server for this ?
I ask you because I detect a 304.
So why IE should ask the server during this period of 12hours to check
if toto.gif is modified ?
Or is it possible, programmaticaly, to force IE to not ask the server
for the status of toto.gif ?
Or is it possible to eliminate the 304 traffic ?

Thank a lot
 
F

Frank Saunders, MS-MVP OE

Hello,
I would like illustrate my question by an example.
My WEB page have a gif, say toto.gif
This toto.gif is now in my IE cache with an expired time to 12h
During these 12 hours when IE try to access the toto.gif it takes it
from the cache.
But it is any traffic between IE and my server for this ?
I ask you because I detect a 304.
So why IE should ask the server during this period of 12hours to check
if toto.gif is modified ?
Or is it possible, programmaticaly, to force IE to not ask the server
for the status of toto.gif ?
Or is it possible to eliminate the 304 traffic ?

Thank a lot

To make sure that there is not a GIF with a later date/time.

--
Frank Saunders, MS-MVP OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
K

kona_iron

Frank Saunders, MS-MVP OE a écrit :
To make sure that there is not a GIF with a later date/time.

--
Frank Saunders, MS-MVP OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/

Thank you.

So if I well understand :
During the "expired time limit" IE ask the server to check if the GIF
has not changed.

But now the setting of my IE cache can perhaps modifiy this behavior.
For example, if I set this settings (check for newer versions of stored
pages) to "never", I can expect that I no more receive the 304 or less.
Is it right ?
Actually this settings is to "Automatically"

Regards
 
F

Frank Saunders, MS-MVP OE

Frank Saunders, MS-MVP OE a écrit :

Thank you.

So if I well understand :
During the "expired time limit" IE ask the server to check if the GIF
has not changed.

But now the setting of my IE cache can perhaps modifiy this behavior.
For example, if I set this settings (check for newer versions of
stored pages) to "never", I can expect that I no more receive the 304
or less. Is it right ?
Actually this settings is to "Automatically"

Regards

"Automatically" does not work worth a fig. Yes, it will only download a
small amount of information unless the file has been updated.

--
Frank Saunders, MS-MVP OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
R

Robert Aldwinckle

Hello,
I would like illustrate my question by an example.
My WEB page have a gif, say toto.gif
This toto.gif is now in my IE cache with an expired time to 12h
During these 12 hours when IE try to access the toto.gif it takes it
from the cache.
But it is any traffic between IE and my server for this ?
I ask you because I detect a 304.
So why IE should ask the server during this period of 12hours to check
if toto.gif is modified ?



AFAICS the only thing that expiration time does is give IE an OK
to delete a cached file earlier than it otherwise might.



Yes. On the server.


http://msdn.microsoft.com/workshop/author/perf/perftips.asp?frame=true#Use_Cache-Control_Extensions

Or is it possible to eliminate the 304 traffic ?



Thank a lot


Good luck

Robert Aldwinckle
---
 
K

kona_iron

Robert Aldwinckle a écrit :
AFAICS the only thing that expiration time does is give IE an OK
to delete a cached file earlier than it otherwise might.




Yes. On the server.


http://msdn.microsoft.com/workshop/author/perf/perftips.asp?frame=true#Use_Cache-Control_Extensions




Good luck

Robert Aldwinckle
---
Thank you for the link.
A section particular interresting :
.... the behavior of Internet Explorer 5 has been modified in the
following way: if the expiry of a cached resource is later than the
time of the request, Internet Explorer will load the resource directly
from the cache without contacting the server ...
In this case we can assert that no 304 trafic are generated. Are you
also OK with me ?
If yes, is this behavior also available for IE6 ?
What do you mean ?

Thank you
 
R

Robert Aldwinckle

....
Robert Aldwinckle a écrit :
....

Thank you for the link.
A section particular interresting :
... the behavior of Internet Explorer 5 has been modified in the
following way: if the expiry of a cached resource is later than the
time of the request, Internet Explorer will load the resource directly
from the cache without contacting the server ...
In this case we can assert that no 304 trafic are generated.
Are you also OK with me ?

That's the way I read it.
If yes, is this behavior also available for IE6 ?

I assume so.
What do you mean ?

About what?

Perhaps you would be more comfortable asking this question
in the equivalent forum for French speakers:


to which I am cross-posting my reply.

Thank you


Good luck

Robert
---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top