Issue 13487

Ooops pages become cached. We believe oops return...

13487
Reporter: trobertson
Assignee: mdoering
Type: Bug
Summary: Ooops pages become cached.  We believe oops return...
Priority: Blocker
Resolution: CantReproduce
Status: Closed
Created: 2013-07-09 09:31:07.534
Updated: 2013-08-21 15:30:24.366
Resolved: 2013-08-21 15:30:24.336
        
        
Description: Ooops pages become cached.  We believe oops returns from Tomcat with an HTTP 200, so Varnish caches that correctly.

Oops needs to set an appropriate header of http 5xx so Varnish does not cache that]]>
    


Author: mdoering@gbif.org
Created: 2013-07-16 15:16:24.336
Updated: 2013-07-16 15:17:09.732
        
portal html pages should not be cached by varnish at all, only static files:
{noformat}
    # PORTAL - ONLY CACHE STATIC FILES !!!
    if ( req.url ~ "^/(img|js|css|fonts|sites|misc|modules)" ) {
      return (lookup);
    } else {
      return (pass);
    }
{noformat}
    


Author: trobertson@gbif.org
Comment: Might be fixed?  Please verify and close
Created: 2013-08-19 12:24:14.122
Updated: 2013-08-19 12:24:14.122