Ignore:
Timestamp:
Mar 9, 2009, 11:33:35 PM (16 years ago)
Author:
gav
Message:

Adjust NoCacheFilters? after more research, should be as good as it gets.
Regenerate Task views.
Return to spinner.gif due to png animation support issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TaskRewrite/src/grails-app/conf/NoCacheFilters.groovy

    r69 r70  
    55            before = {
    66               
    7                 //From the Acegi login controller
    8                 response.setHeader('Cache-Control', 'no-cache') // HTTP 1.1
     7                //Turn off as much caching as we can.
     8                response.setHeader("Cache-Control", "no-cache,no-store,must-revalidate")// HTTP 1.1
    99                response.addDateHeader('Expires', 0)
    1010                response.setDateHeader('max-age', 0)
    1111                response.setIntHeader ('Expires', -1) //prevents caching at the proxy server
    1212                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
    1814
    1915            }
Note: See TracChangeset for help on using the changeset viewer.