Issue 13775
Cache html pages in varnish
13775
Reporter: mdoering
Assignee: mdoering
Type: Improvement
Summary: Cache html pages in varnish
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-09-05 12:41:02.628
Updated: 2013-09-05 15:12:27.649
Resolved: 2013-09-05 15:12:27.619
Description: A performance boost and better concurrent serving of pages would be to cache drupal and java portal generated html in varnish too.
This can only be done for unpersolized pages, i.e. if no session cookie is present. We show the currently logged in user at the top, rendered server side.
Currently drupal returns a no cache header, so varnish has no effect:
{noformat}
Cache-Control: max-age=0
If-None-Match: "1378377175"
If-Modified-Since: Thu, 05 Sep 2013 10:32:55 +0000
{noformat}]]>
Author: mdoering@gbif.org
Comment: testing now with https://code.google.com/p/gbif-portal/source/detail?r=1957 and https://code.google.com/p/gbif-portal/source/detail?r=1958 on portaldev. Looking good so far!
Created: 2013-09-05 13:12:32.65
Updated: 2013-09-05 13:12:32.65
Author: mdoering@gbif.org
Comment: running on UAT and portaldev now with 10minutes caching
Created: 2013-09-05 15:12:27.647
Updated: 2013-09-05 15:12:27.647