jueves, 24 de julio de 2014

Managing cache-control in Apache with UrlRewrite

Configuracion


 

 

 

Sinrewriter (sample.html)


> GET /sample.html HTTP/1.1

< HTTP/1.1 200 OK
< Date: Thu, 24 Jul 2014 18:30:04 GMT
* Server Apache/2.4.7 (Ubuntu) is not blacklisted
< Server: Apache/2.4.7 (Ubuntu)
< Last-Modified: Thu, 24 Jul 2014 17:30:06 GMT
< ETag: "d-4fef3cec9be73"
< Accept-Ranges: bytes
< Content-Length: 13
< Content-Type: text/html

Con rewriter (sample.jsp)


> GET /sample.jsp HTTP/1.1

< HTTP/1.1 200 OK
< Date: Thu, 24 Jul 2014 18:30:24 GMT
* Server Apache/2.4.7 (Ubuntu) is not blacklisted
< Server: Apache/2.4.7 (Ubuntu)
< Last-Modified: Thu, 24 Jul 2014 17:31:48 GMT
< ETag: "14-4fef3d4e06612"
< Accept-Ranges: bytes
< Content-Length: 20
< Pragma: no-cache
< Cache-Control: max-age=0, no-store, no-cache, must-revalidate


miércoles, 15 de enero de 2014