PHP 클래스 Sulu\Component\HttpCache\Handler\PublicHandler
Includes the TTL of the structure.
파일 보기
프로젝트 열기: sulu/sulu
공개 메소드들
메소드 |
설명 |
|
__construct ( Sulu\Component\HttpCache\CacheLifetimeResolverInterface $cacheLifetimeResolver, integer $maxAge = 240, integer $sharedMaxAge = 960, boolean $usePageTtl = true ) |
|
|
updateResponse ( Response $response, Sulu\Component\Content\Compat\StructureInterface $structure ) |
|
|
메소드 상세
public __construct ( Sulu\Component\HttpCache\CacheLifetimeResolverInterface $cacheLifetimeResolver, integer $maxAge = 240, integer $sharedMaxAge = 960, boolean $usePageTtl = true ) |
$cacheLifetimeResolver |
Sulu\Component\HttpCache\CacheLifetimeResolverInterface |
|
$maxAge |
integer |
Cache max age in seconds |
$sharedMaxAge |
integer |
Cache shared max age in seconds |
$usePageTtl |
boolean |
Use page TTL |
public updateResponse ( Response $response, Sulu\Component\Content\Compat\StructureInterface $structure ) |
$response |
Symfony\Component\HttpFoundation\Response |
|
$structure |
Sulu\Component\Content\Compat\StructureInterface |
|