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.
cache files are being removed as they should when a page is edited, but publishing the page does not remove the out-dated cache file.
is this a bug or do i have a setting screwed up somewhere?
or is this an issue with the revisioning module? (i'm using Revisioning 6.x-3.11 and Module Grants 6.x-3.6)
Comments
Comment #1
chadd CreditAttribution: chadd commenteddoes anyone else experience this issue?
Comment #2
chadd CreditAttribution: chadd commentedi've traced the timeline of how this is happening:
1) node is edited to new content
2) cached file is cleared
3) prior to publishing the new revision, anonymous user visits node (with old content) and cache file is recreated
4) new revision is published
5) since publishing doesn't remove cache file, the anonymous user continues to get the previously generated cache file
Comment #3
naero CreditAttribution: naero commentedChadd, I'm getting the same issue.
Is this a bug??
Comment #4
marios88 CreditAttribution: marios88 commentedA possible workaround i can think of is the Rules module. Set it to remove the boost cache when you publish the revision.
Comment #5
chadd CreditAttribution: chadd commentedcan you set the rules module to remove just that one html file from the boost cache? or would it dump the entire boost cache?
dumping the entire boost cache every time a page is published would pretty much defeat the purpose of using boost in the first place...
Comment #6
marios88 CreditAttribution: marios88 commentedYes you can.
example cleaning taxonomy term based on changed node with rules:
Leave "Page URL: " empty for frontpage