FilterDeclare SSI / Last modified header
You need to be logged in to post messages in the forums. New users may register here.
|
Norman Leutner
Member since: 09 January 2008
Posts: 44
|
Tuesday 16 August 2011 1:43:50 pm
Hi,
using the eZSI with SSI configuration:
FilterDeclare SSI
FilterProvider SSI INCLUDES resp=Content-Type $text/html
FilterChain SSI
we're loosing the "Last-Modified" header.
Loosing that header prevents the clients bowser from caching the requested files like images, css, js. So the client requests those files on every single pageview.
So get those headers back the following code can be used:
Apache higher than 2.2.15:
FilterDeclare SSI
FilterProvider SSI INCLUDES resp=Content-Type $text/html
FilterChain SSI
SSILastModified on
below 2.2.15:
FilterDeclare SSI
FilterProvider SSI INCLUDES resp=Content-Type $text/html
FilterChain SSI
XBitHack full
|
|
You need to be logged in to post messages in the forums. New users may register here.