Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1.5
-
Fix Version/s: None
-
Labels:None
Description
Doing this inside the generate closure produces the correct caching behavior, otherwise its possible for the browser to get content from cache without even checking the etag / lastModified date:
response.setHeader 'Cache-Control', 'no-cache'
response.setHeader 'Pragma', 'no-cache'