This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » 304 in rquest with if-modified-since
expandshrink

304 in rquest with if-modified-since

304 in rquest with if-modified-since

Monday 23 July 2012 6:21:45 pm

I try to find the right configuration to receive code 304 in eZ header response when someone make a Request with if-modified-since.
I read everyting I find on this matter, but I don't find the right ini configuration.

http://share.ez.no/forums/setup-design/setup-httpheadersettings/
 http://share.ez.no/forums/setup-design/expires-and-cache-control-configuration/(language)/eng-GB
 http://issues.ez.no/IssueView.php?Id=16453
 http://issues.ez.no/15091
 http://share.ez.no/forums/setup-design/setup-httpheadersettings

My configuration

eZ Publish: Community Project 2011.10
Php: 5.3.9-ZS5.6.0
Webserver: Apache/2.2.14 (Ubuntu)
DB: MySql 5.5.0

I try this configuraztion on site.ini

[HTTPHeaderSettings]
CustomHeader=enabled
OnlyForAnonymous=disabled
HeaderList[]
HeaderList[]=Cache-Control
HeaderList[]=Pragma
Cache-Control[]
Cache-Control[/]=public, must-revalidate, max-age=200
Pragma[]
Pragma[/]=

eZ return the right value for Last-Modified, but turn always code 200 instead 304

Someone have a solution for me? I forget to configure something?
thanks

Modified on Monday 23 July 2012 6:23:38 pm by Ugo Giacalone

No reply yet!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from