Provide possibility to exclude errors from being cached
-------------------------------------------------------

                 Key: MAGNOLIA-4570
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4570
             Project: Magnolia
          Issue Type: Improvement
      Security Level: Public
          Components: cache
    Affects Versions: 4.5.4
            Reporter: Jan Haderka
             Fix For: 4.5.x
         Attachments: DoNotStoreErrorsStore.java

Right now, Magnolia will include/exclude items from being cached based on 
various rules. 
One can even influence cache behaviour by setting cache headers in the response 
before rendering starts (and response is committed).
However there is no way to react based on some arbitrary events that happen 
during rendering or based on the response code. This would for example allow 
excluding items from cache in case someone generates number of 404 requests 
just by trying to fish for valid URLs on the site.

Attached is an example of executor that would not store items in case of 
errors, but rather then having specialized executor, this behaviour should be 
configurable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to