Crell --

Thanks for your support of this mod.

I'm in need of something that won't cache my image nodes as I am always uploading via FTP new images to replace the old. In the pages to be excluded from caching I have content/*. Old image nodes still appear at "content/whatever". When I hit refresh on the browser, the new image is displayed.

Am I misunderstanding what this mod does or using it wrong? I appreciate your thoughts.

Kris

Comments

Crell’s picture

Status: Active » Fixed

This module just excludes a given path from Drupal's page caching system. It does nothing for your browser cache, which is what it sounds like you're running up against.

kriskd’s picture

Thanks for your prompt reply.

I had read about Drupal vs Browser cache in other posts in this issue queue and to be honest, I don't know much about browser cache.

However, when this was just a static website displaying images, I never had this problem. When you went to the site, it loaded fresh images.

I'm wondering if this is related to using the image mod? I'll check to see if it happens with image field.

VM’s picture

you will always have to refresh after you upload something into FTP. even on a static site.

if I have a page in my browser with image #1 left open
I then replace image #1, the page that was left open will have to be refreshed to see the new image because the web page is already rendered to the browser. That means another call to the server has to be made to retrieve the new image.

kriskd’s picture

Thanks, but it's not an issue of leaving the browser open and just expecting a new issue, but rather when I say click on a link to see the image node, it's not pulling the image off the server, but rather what happens to be cached. For example, within the content area of the admin panel, I click on the link to visit the node and I'm shown an old image. I refresh the node and I get the current image.

I also just spent some time playing with imagefield and seem to be getting the same results there. I've found a couple refresh mods, but that's not really what I want either. I just want the server to serve the image when someone click on a link for the image node or the content type with an image field.

VM’s picture

drupal cache is disabled in administer -> performance yes ?

kriskd’s picture

drupal cache is disabled in administer -> performance yes ?

I was hoping that would be the magic bullet, but it already was disabled.

Anyway, after some more experimenting, the problem does seem to be the browser cache. When I clear the cache and then click the link to view the image, I do get the current image. So, I might have to consider the meta refresh mod to solve my problem.

VM’s picture

or alter your browser chache settings.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.