[TYPO3-dev] Varnish

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Sep 30 09:42:39 CEST 2011


Hi!

Tomas Norre Mikkelsen wrote:
> respons header asking varnish port: 81
> ---
> Server: Apache/2.2.14 (Ubuntu)
> X-Powered-By: PHP/5.3.2-1ubuntu4.9
> Expires: 0
> Cache-Control: private
> Pragma: no-cache

Oops. It appears that you disable any caching...

> Last-Modified: Thu, 29 Sep 2011 20:55:25 GMT
> Vary: Accept-Encoding
> Content-Encoding: gzip
> Content-Type: text/html; charset=utf-8
> Content-Length: 2005
> Accept-Ranges: bytes
> Date: Thu, 29 Sep 2011 20:55:25 GMT
> X-Varnish: 1714100756
> Age: 0
> Via: 1.1 varnish
> Connection: keep-alive

At least, we see it goes through Varnish.

> TS:
>
> config.sendCacheHeaders = 1
> config.cache_period = 3600
> plugin.tx_felogin_pi1 = USER
> [usergroup = *]
> plugin.tx_felogin_pi1 = USER_INT
> [global]

USER_INT sends "no cache" headers.

-- 
Dmitry "itoldyou" Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/





More information about the TYPO3-dev mailing list