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

chadd’s picture

does anyone else experience this issue?

chadd’s picture

i'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

naero’s picture

Chadd, I'm getting the same issue.

Is this a bug??

marios88’s picture

A possible workaround i can think of is the Rules module. Set it to remove the boost cache when you publish the revision.

chadd’s picture

can 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...

marios88’s picture

Yes you can.

example cleaning taxonomy term based on changed node with rules:

<?php
$path = 'taxonomy/term/'.$node->field_example[0]['value'];
$alias = drupal_lookup_path('alias', $path);
//watchdog('boost-rules-cleared',$alias);
echo $alias;
?>

Leave "Page URL: " empty for frontpage