Forum Moderators: phranque

Message Too Old, No Replies

Content Negotiation

Remove extensions from files in URL and source.

         

bumpaw

3:55 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



Doing a quick search I found this post by Pageoneresults [webmasterworld.com...] where there were no replies.

Well as usual I'm falling of the cutting edge and trying to implement content negotiations on a new site. The problem is that images cache poorly or not at all. You can hit refresh and watch them reload each time. I see from following the link in the original post that this can be a drawback, but this is extreme. I'll ask the question again that was asked a year ago. Has anybody tried this?

py9jmas

4:19 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



You can hit refresh and watch them reload each time.

Isn't that the point of refresh/reload - that it forces the downloading from the origin server and not from any cache?

Jon.

bumpaw

5:02 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



Isn't that the point of refresh/reload - that it forces the downloading from the origin server and not from any cache?

This may be true, but if the image on the server is unchanged you wouldn't want it downloaded again. It should be pulled from the browser cache in that case. I just did away with the content negotiation and images are instantly there on refresh. With content negotiation they come in like it's the first visit on each refresh.