Пример #1
0
 public function resourceCachingProcessor($resouce, $sec = 0)
 {
     return Caching::processor($resouce, $sec);
 }
Пример #2
0
 public static function veryAggressiveCachingControl()
 {
     return function ($data) {
         return Caching::processor($data, 60 * 60 * 24);
     };
 }