[TYPO3-dev] Varnish

Tomas Norre Mikkelsen tomasnorre at gmail.com
Fri Sep 30 10:32:16 CEST 2011


On 2011-09-30 09:42, Dmitry Dulepov wrote:
> 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...

I see that cache is disabled, but not something i have done 
intentionally. Thought that TYPO3 automaticly cached if not told otherwise.

>
>> 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.

I know, but its only inserted to ensure no cache if user logged-in.

-- 
Venlig Hilsen / Best Regards
Tomas Norre Mikkelsen
Tomasnorre at gmail.com

Follow me at twitter
Twitter.com/tomasnorre




More information about the TYPO3-dev mailing list