[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 219 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ResponseCacheStrategy:: (4 methods):
add()
update()
willMakeFinalResponseUncacheable()
storeRelativeAgeDirective()
Class: ResponseCacheStrategy - X-Ref
ResponseCacheStrategy knows how to compute the Response cache HTTP headeradd(Response $response) X-Ref |
{@inheritdoc} |
update(Response $response) X-Ref |
{@inheritdoc} |
willMakeFinalResponseUncacheable(Response $response) X-Ref |
RFC2616, Section 13.4. return: bool |
storeRelativeAgeDirective($directive, $value, $age) X-Ref |
Store lowest max-age/s-maxage/expires for the final response. The response might have been stored in cache a while ago. To keep things comparable, we have to subtract the age so that the value is normalized for an age of 0. If the value is lower than the currently stored value, we update the value, to keep a rolling minimal value of each instruction. If the value is NULL, the directive will not be set on the final response. param: string $directive param: int|null $value param: int $age |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |