Forums / Developer / Configure HTTPHeaderSettings
Bourelly Frederic
Thursday 21 December 2006 5:20:56 am
Hi,
I would like to setup Http Cache. I need to have an http cache of 1min. How can i do that in site.ini , block [HTTPHeaderSettings] ??
Thanx for your help.
Fred
Thursday 21 December 2006 5:32:36 am
For the http cache managment , i only set that properties.
[HTTPHeaderSettings]CustomHeader=enabled
HeaderList[]HeaderList[]=Cache-Control
Cache-Control[]Cache-Control[/]=max-age=60, must-revalidate
is it good ? I didn't find any documentation on [HTTPHeaderSettings] in the eZ Documentation.
Thanx.
Thursday 21 December 2006 7:14:24 am
i need also to desactivate cache for some modules:
My fiel should look like that:
HeaderList[] HeaderList[]=Cache-ControlHeaderList[]=Pragma
Pragma[] Pragma[/module1]=no-cache;2 Pragma[/module2]=no-cache;2Pragma[/module3/view1]=no-cache;2
is it good?
Thanx