cubicweb-tracker #2748359 Enable caching on project pages (and tickets) [open]
For some reason, project pages have "Cache-Control: max-age=0, no-cache" $ curl -I http://www.logilab.org/project/name/hgview HTTP/1.1 200 OK Date: Wed, 13 Mar 2013 15:33:02 GMT Vary: Accept-Encoding Cache-Control: max-age=0, no-cache Content-Type: text/html;charset=UTF-8 Is there a good reason for that and if not, change it. This prevents varnish from caching the page. If this process can be though for the json call of the tabs that would be nice aswell. | |
priority | normal |
---|---|
type | bug |
done in | <not specified> |
closed by | <not specified> |
Comments
-
2013/03/13 16:28, written by acampeas
-
2013/03/14 14:25, written by alutz
-
2013/03/15 09:46, written by acampeas
add commentare you sure it's not a general issue with ajaxy pages ?
maybe it is a setting of the "tabbed" view indeed. In this case, I believe it's a problem and that the value should be changed.
That value was set to work around a nasty bug in Internet Explorer 7 which had a tendency to overzealously cache such objects. Do we want to throw this away ?