Last change
on this file since 3296 was
3296,
checked in by fenix, 13 years ago
|
Load Products.CacheSetup?-1.2.1 into vendor/Products.CacheSetup?/current.
|
-
Property svn:eol-style set to
native
|
File size:
725 bytes
|
Line | |
---|
1 | <metal:cacheheaders define-macro="cacheheaders"> |
---|
2 | <metal:block tal:define="dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;;charset=%s' % charset)" /> |
---|
3 | <metal:block tal:define="dummy python:request.RESPONSE.setHeader('Content-Language', lang)" /> |
---|
4 | <metal:block tal:define="dummy python:request.RESPONSE.setHeader('Expires', 'Sat, 1 Jan 2000 00:00:00 GMT')" /> |
---|
5 | <metal:block tal:content="structure python:here.enableHTTPCompression(request=request, debug=0)" /> |
---|
6 | <metal:block tal:condition="python:not context.portal_membership.isAnonymousUser()"> |
---|
7 | <metal:block tal:define="dummy python:request.RESPONSE.setHeader('Cache-Control', 'private')" /> |
---|
8 | </metal:block> |
---|
9 | </metal:cacheheaders> |
---|
Note: See
TracBrowser
for help on using the repository browser.