[Typo3] sendCacheHeaders
Boris Senker
typo3 at dvotocka.hr
Sun May 8 19:06:39 CEST 2005
I have caching times setup for a site that doesn't often change.
So I'd like TYPO3 to send cache-control headers. Mod_headers and mod_expires
on our webserver are already functional.
Reading the article on sendCacheHeaders TYPO3.org site, I have understood
that I shoud
add the
config.sendCacheHeaders = 1
instruction into the main templates TS/Setup in config section. So I did.
Also those conditions are met:
The page was cached by TYPO3
No *_INT or *_EXT objects were on the page (e.g. USER_INT)
No frontend user is logged in
No backend user is logged in
as proposed in the article.
However, looking at the headers output of the main page I dont see any
cache-control instructions.
------------------------------------------------------------------------------------------------------
Header (Length = 175):
HTTP/1.1.200.OK(CR)
(LF)
Date:.Sun,.08.May.2005.17:01:14.GMT(CR)
(LF)
Server:.Apache(CR)
(LF)
Set-Cookie:.fe_typo_user=3c33142028;.path=/(CR)
(LF)
Connection:.close(CR)
(LF)
Content-Type:.text/html;charset=utf-8(CR)
(LF)
(CR)
(LF)
------------------------------------------------------------------------------------------------------
Pages are previously set up to cache, so... what else do I need to do?
Thanks,
Boris Senker
: dvotocka design
________________________________________________________________
Graphic Design for Print and Web, Prepress, Website Production
J. Laurencica 8, 10000 Zagreb, Croatia
http://www.dvotocka.hr
More information about the TYPO3-english
mailing list