PHP Class 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.
Datei anzeigen
Open project: imbo/imbo
Public Methods
Method |
Description |
|
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. |
|
Method Details
getSubscribedEvents()
public static method