Issue 13015

Develop plan to deal with purging the varnish cache when (registry) information has changed

13015
Reporter: mdoering
Assignee: trobertson
Type: Task
Summary: Develop plan to deal with purging the varnish cache when (registry) information has changed
Description: varnish is set to cache objects for 2 days, but when the registry is modified the cache needs to be flushed, ideally selectively. An implementation could be bound to registry messaging listeners
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2013-03-15 11:46:59.114
Updated: 2013-12-20 17:38:41.518
Resolved: 2013-12-20 17:02:28.064


Author: kbraak@gbif.org
Created: 2013-12-20 17:02:28.096
Updated: 2013-12-20 17:02:28.096
        
This has been fixed by [~mdoering@gbif.org]. Correct me if I'm wrong [~mdoering@gbif.org] but the cache is cleared on any Registry change now.

Closing issue.
    


Author: mdoering@gbif.org
Created: 2013-12-20 17:38:41.518
Updated: 2013-12-20 17:38:41.518
        
This was accomplished by configuring varnish to flush all registry data whenever a non GET is received:
https://github.com/gbif/deploy/blob/master/front/vcl/default.vcl#L227