diff options
author | emkael <emkael@tlen.pl> | 2016-04-11 13:51:49 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-04-11 13:51:49 +0200 |
commit | 45f4f865a4d332d579023f2723b0dd981bcd3659 (patch) | |
tree | d020d1969bfb85b91fc93a59962e382b9122bd3a /app | |
parent | 843c8045c2b5bf647fe8559ac5dee810736345c2 (diff) |
* cache control headers for HTTP responses
Diffstat (limited to 'app')
-rw-r--r-- | app/php/url/config.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/php/url/config.xml b/app/php/url/config.xml index a5870cd..bbba13c 100644 --- a/app/php/url/config.xml +++ b/app/php/url/config.xml @@ -29,5 +29,9 @@ UrlFormat="HiddenPath" UrlParamSeparator="/" UrlManager="url" /> + <module id="response" + class="THttpResponse" + CacheControl="public" + CacheExpire="10" /> </modules> </configuration> |