Hi there,
My site uses the Tracker view on a page with the URL of mysite.com/frontpage , which is set as the front page at admin/config/system/site-information
. The same Tracker view also has other similar pages defined with different header and filter settings. Caching for the view is *not* specifically enabled in the Tracker view settings, because it needs to update immediately after users create/modify content.
With Filecache enabled, the Tracker views don't get updated for anonymous users until I clear the cache manually (either the entire Drupal cache or the Views cache clear button).
I tried different minimum cache lifetime and expiration of cached pages settings under Performance, but it makes no difference if they are at none or 1 min.
It appears that the culprit is the cache_page
bin. I first tried setting...
$conf['cache_class_cache_views'] = 'DrupalDatabaseCache';
$conf['cache_class_cache_views_data'] = 'DrupalDatabaseCache';
...but this had no effect. However...
$conf['cache_class_cache_page'] = 'DrupalDatabaseCache';
...makes the Tracker view update correctly for anonymous users.
Thanks for the help!
Comments
Comment #2
rahim123 CreditAttribution: rahim123 commentedComment #3
rahim123 CreditAttribution: rahim123 commentedComment #4
rahim123 CreditAttribution: rahim123 commentedComment #6
ogi CreditAttribution: ogi commentedCould you manually apply this commit?
Comment #7
rahim123 CreditAttribution: rahim123 commentedVery nice, looks like that did the trick! Thanks a lot for the fast support.
Shall I close this issue?
Comment #8
ogi CreditAttribution: ogi commentedComment #9
ogi CreditAttribution: ogi commentedComment #10
ogi CreditAttribution: ogi commented