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

sb56637 created an issue. See original summary.

rahim123’s picture

Issue summary: View changes
rahim123’s picture

Title: Cache refresh not working with Tracker view » cache_page refresh not working with Tracker view
rahim123’s picture

Issue summary: View changes

  • ogi committed fcad394 on 7.x-1.x
    Issue #2880644 by sb56637: cache_page refresh not working with Tracker...
ogi’s picture

Could you manually apply this commit?

rahim123’s picture

Very nice, looks like that did the trick! Thanks a lot for the fast support.
Shall I close this issue?

ogi’s picture

Status: Active » Fixed
ogi’s picture

Status: Fixed » Active
ogi’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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