Words to the wise, Henry <rcornford@rain drop.co.ukwrote :
>
>Then you are probably not sending Expires headers with the images (nor
>Cache-Control headers with max-age parameters). Which will mean that
>the individual browsers are likely to make their decisions about
>whether to use a cached image based upon non-standard/non-documented
>internal algorithms, and that will likely produce different outcomes
>in different browsers (and under different browser configurations) ,
>which is what you have been describing.
Sorry for the delay, was overly swamped and only managed to be able to
free some time last week to work on this.
Yes, that was the whole problem.
Adding Cache-Control with max-age solved the problem.
I tried to add a FileETag as well, but this does not seem to make any
additional difference, LiveHTTPHeaders does not even show that.
Would that even make sense to add a unique id to each requested
object? The images the code is requesting are already unique from
their path name.
Yes, that was it, exactly.
My guess is that when we moved our application to the new hardware,
part of the updated Apache configuration got lost in the mists of the
matrix.
Thanks a lot to you for your very helpful suggestion, also thanks to
the others for pointing out several code imperfections, those are also
rectified.
--
Claus Dragon <clauskick@mpsa hotmail.com>
=(UDIC)=
d++ e++ T--
K1!2!3!456!7!S a29
"Coffee is a mocker. So, I am going to mock."
- Me, lately.
>Live HTTP headers does not show any expiry-date,
>at least none I can recognize...
>at least none I can recognize...
>Then you are probably not sending Expires headers with the images (nor
>Cache-Control headers with max-age parameters). Which will mean that
>the individual browsers are likely to make their decisions about
>whether to use a cached image based upon non-standard/non-documented
>internal algorithms, and that will likely produce different outcomes
>in different browsers (and under different browser configurations) ,
>which is what you have been describing.
free some time last week to work on this.
Yes, that was the whole problem.
Adding Cache-Control with max-age solved the problem.
I tried to add a FileETag as well, but this does not seem to make any
additional difference, LiveHTTPHeaders does not even show that.
Would that even make sense to add a unique id to each requested
object? The images the code is requesting are already unique from
their path name.
>In the event that a particular browser reacts to the HTTP headers (or
>the absence of HTTP headers) you send with your images by deciding
>that it is never appropriate to use a cached image you can do all the
>image pre-loading you like with scripts (or with HTML) and it will
>make no difference to the situation at all (which also seems to be
>what you are describing). See:-
>the absence of HTTP headers) you send with your images by deciding
>that it is never appropriate to use a cached image you can do all the
>image pre-loading you like with scripts (or with HTML) and it will
>make no difference to the situation at all (which also seems to be
>what you are describing). See:-
My guess is that when we moved our application to the new hardware,
part of the updated Apache configuration got lost in the mists of the
matrix.
Thanks a lot to you for your very helpful suggestion, also thanks to
the others for pointing out several code imperfections, those are also
rectified.
--
Claus Dragon <clauskick@mpsa hotmail.com>
=(UDIC)=
d++ e++ T--
K1!2!3!456!7!S a29
"Coffee is a mocker. So, I am going to mock."
- Me, lately.
Comment