PHP 클래스 Imbo\EventListener\HttpCache

This event listener will listen to all outgoing responses and check if any HTTP cache headers have explicitly been set. If not, it will apply the configured defaults.
저자: Espen Hovlandsdal ([email protected])
상속: implements Imbo\EventListener\ListenerInterface
파일 보기 프로젝트 열기: imbo/imbo

공개 메소드들

메소드 설명
getSubscribedEvents ( )
setHeaders ( Imbo\EventManager\EventInterface $event ) Right before the response is sent to the client, check if any HTTP cache control headers have explicity been set for this response. If not, apply the configured defaults.

메소드 상세

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

setHeaders() 공개 메소드

Right before the response is sent to the client, check if any HTTP cache control headers have explicity been set for this response. If not, apply the configured defaults.
public setHeaders ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The event instance