Source of file RequestFilter.php
Size: 0,581 Bytes - Last Modified: 2021-12-23T10:20:55+00:00
/var/www/docs.ssmods.com/process/src/code/filters/RequestFilter.php
1234567891011121314151617181920212223 | <?php namespace Stampy; use Config; use Debug; use Controller; class RequestFilter implements \RequestFilter { public function preRequest(\SS_HTTPRequest $request, \Session $session, \DataModel $model) { } public function postRequest(\SS_HTTPRequest $request, \SS_HTTPResponse $response, \DataModel $model) { // Write to the cache if we made it to the end of the request. // NOTE(Jake): This is not called by DynamicCache if the cache has a hit. $cssCrush = singleton('Stampy\CSSCrush'); $cssCrush->writeToCache(); } } |