It seems that upon every reload of the page, or navigating around the site, images processed with ImageCache are being re-downloaded from the server. Is this standard behaviour, or should they be locally cached if they haven't changed? Is every page load processing the images again? Thanks.

Comments

dopry’s picture

Status: Active » Postponed (maintainer needs more info)

Can you firebug it and see what headers are being sent with the images.. I think they should be being cached, but you never know how browsers or border caches are setup. Ideally i'd love to reduce the requests to the server as much as possible. Mind you I don't have much control on the cache settings for images being served directly by apache only those served directly by imagecache on initial generation or being served through private files.

dopry’s picture

Can you firebug it and see what headers are being sent with the images.. I think they should be being cached, but you never know how browsers or border caches are setup. Ideally i'd love to reduce the requests to the server as much as possible. Mind you I don't have much control on the cache settings for images being served directly by apache only those served directly by imagecache on initial generation or being served through private files.

M3’s picture

Response Headers
Date	Thu, 10 Jul 2008 13:27:54 GMT
Server	Apache
X-Powered-By	PHP/5.1.6
Expires	Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified	Wed, 02 Jul 2008 00:09:29 GMT
Cache-Control	store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Length	5473
Etag	"65926d97bbbdf06099cee7065ccf5de6"
Content-Type	image/jpeg

Perhaps it is Apache configuration.

shariharan’s picture

Confirming the issue. This is happening to only select images in the page. This is slowing down the page load. Any idea why this is happening ?

shariharan’s picture

My issue was fixed when I installed Transliteration Module.

http://drupal.org/project/transliteration

drewish’s picture

the must revalidate in the cache-control header is going to require an extra connection to the server. but it shouldn't require a full download.

fizk’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)