Issue 13775

Cache html pages in varnish

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:
Cache-Control: max-age=0
If-None-Match: "1378377175"
If-Modified-Since: Thu, 05 Sep 2013 10:32:55 +0000

Comment: testing now with and on portaldev. Looking good so far!
Created: 2013-09-05 13:12:32.65
Updated: 2013-09-05 13:12:32.65

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