Changeset 70 for branches/TaskRewrite/src/grails-app/conf
- Timestamp:
- Mar 9, 2009, 11:33:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TaskRewrite/src/grails-app/conf/NoCacheFilters.groovy
r69 r70 5 5 before = { 6 6 7 // From the Acegi login controller8 response.setHeader( 'Cache-Control', 'no-cache')// HTTP 1.17 //Turn off as much caching as we can. 8 response.setHeader("Cache-Control", "no-cache,no-store,must-revalidate")// HTTP 1.1 9 9 response.addDateHeader('Expires', 0) 10 10 response.setDateHeader('max-age', 0) 11 11 response.setIntHeader ('Expires', -1) //prevents caching at the proxy server 12 12 response.addHeader('cache-Control', 'private') //IE5.x only 13 14 //Additional from the net 15 response.addHeader('Pragma', 'no-cache') 16 response.addHeader('Cache-Control', 'no-store') 17 response.addHeader('Cache-Control', 'must-revalidate') 13 response.addHeader('Pragma', 'no-cache') //HTTP 1.0 18 14 19 15 }
Note: See TracChangeset
for help on using the changeset viewer.