Share » Forums » Developer » Configure HTTPHeaderSettings

Configure HTTPHeaderSettings

Configure HTTPHeaderSettings

Thursday 21 December 2006 5:20:56 am - 2 replies

Author Message

Bourelly Frederic

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.

Bourelly Frederic

Thursday 21 December 2006 7:14:24 am

i need also to desactivate cache for some modules:

My fiel should look like that:

[HTTPHeaderSettings]
CustomHeader=enabled

HeaderList[]
HeaderList[]=Cache-Control
HeaderList[]=Pragma

Cache-Control[]
Cache-Control[/]=max-age=60, must-revalidate

Pragma[]
Pragma[/module1]=no-cache;2
Pragma[/module2]=no-cache;2
Pragma[/module3/view1]=no-cache;2

is it good?

Thanx

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu