LG

expire and cookie header in forum vs. caching and text/html content type for images

Discussion created by LG Champion on Sep 11, 2007

Hi,

 

while I use a proxy when accessing the internet I really like if a page allows my proxy to cache things. Within this community there are a lot of elements (35 elements on http://www.igniterealtime.org/community/index.jspa) which are not cached, so reloading the page takes some time.

 

1. There are a lot of user icons with URL's like /community/people/USERNAME/avatar/NN.png?a=NNNN which one can not cache, they also try to set a cookie if one has none. Maybe one can fix this and make these images valid for 24 hours or longer. If a user changes the avatar then the a=NNNN number will change, so there should be no need to transfer the icons every time.

 

2. The images used here like http://www.igniterealtime.org/community/themes/ignite/images/ignite_hdr-jivecomm unity.gif don't set a cookie but with 'Cache-Control: max-age=0' one can not cache them. Do you change the look-and-feel so often that this setting makes sense? With 'Content-Type: text/plain; charset=UTF-8' the content type of the images is wrong, Firefox does not display the link above as an image. Inlined in the page the image is displayed right.

 

3. The /community/themes/ignite/images/jive-x-userbar-search-bg.gif images have the same problems as describe in 2.

 

LG

Outcomes