Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using Boost on a site with image galleries created with the Image module (http://drupal.org/project/image) and the gallery pages are not expired when I add a new image to a gallery. I expected that it would automatically work as the galleries are displayed using views.
So am I correct in my assumption, that any views that display image nodes should automatically expire if I add an image? If yes, what could cause the views to not be refreshed?
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedEnable "Clear all cached views pages associated with a node on insert" & try again. If no go, get the latest dev and turn verbose to 9; it will explain exactly what is going on; recommend doing this on a dev box.
Comment #2
DoctorWho CreditAttribution: DoctorWho commentedHi,
thank you for you prompt response. The "Clear all cached views pages associated with a node on insert" option is enabled on the site.
I set the logging to 9 on a copy of the site and added one image. The following entries appeared in the log:
I suspect the image module is doing something unexpected with the views, as all other views (not based on images) are expired correctly.
Thank you for your help.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commented0 Views Searched - Means none of the views are currently cached by boost; thus there is nothing to expire in this case.