Changeset 4541
- Timestamp:
- 02/03/12 15:55:26 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/branches/1.5/lib/sfFilter/aCacheFilter.class.php
r4334 r4541 42 42 { 43 43 $filterChain->execute(); 44 // Never try to cache a 404 error. Later we might consider 45 // caching them but remembering their status properly so it 46 // doesn't magically become a 200 OK when returned from cache 47 if ($this->context->getResponse()->getStatusCode() !== 200) 48 { 49 return; 50 } 44 51 $content = $this->context->getResponse()->getContent(); 45 52 // Check whether aCacheInvalid was set for this user during the current request, don't cache

