gzippo
gzippo copied to clipboard
Should expires header also be set
ySlow speed is complaining about expires headers not being set.
Should gzippo have an option to set this as well as cache-control?
It does currently set the expires header however only to one day. It is a bug and should be defaulted to one week.
It seems that Connect doesn't implement support for the Expires header: https://github.com/senchalabs/connect/issues/410 however gzippo does for gzipped content.
Yeah, I saw that you do it for gzipped content. But adding it to pass() before deferering to connect's staticSend would mean a few extra points on PageSpeed/ySlow.
Yet another reason to use gzippo as your static middleware!
On 4 January 2012 14:02, Tom Gallacher [email protected] wrote:
It seems that Connect doesn't implement support for the Expires header: https://github.com/senchalabs/connect/issues/410 however gzippo does for gzipped content.
Reply to this email directly or view it on GitHub: https://github.com/tomgallacher/gzippo/issues/20#issuecomment-3354820
[email protected] Chief Technology Officer
Direct: +44 2030 516115 Mobile: +44 7881 550999 Conference: +44 20 3051 6144
Clock Limited The Old School House Bridge Road, Hunton Bridge, Kings Langley, WD4 8RQ Switchboard: +44 1923 261166
www.clock.co.uk
http://twitter.com/clock http://blog.clock.co.uk/ http://delicious.com/clocklimited
www.clock.co.uk/email-disclaimer
clock.® is a Registered Trademark of Clock Limited in the European Community and other territories
Hm, I do see expires header in current version?