docpad: v6.58.0
node: v0.10.21
npm: 1.3.11
skeleton: twitter-bootstrap.docpad
os: mac os 10.8.5
assert: setting maxAge should set a Cache-Control header for files being served by the docpad express server
result:Cache-Control header not set
I found the only way to set the Cache-Control header was within the serverMiddlewareHeader method (https://github.com/bevry/docpad/blob/master/src/lib/docpad.coffee#L4512)
Also having issues with a plugin I just wrote https://github.com/stongo/docpad-plugin-st
It handles gzip correctly for instance, but is unable to set the Cache-Control header.
The static middleware here https://github.com/bevry/docpad/blob/master/src/lib/docpad.coffee#L4662 isn't setting the cache either
docpad: v6.58.0
node: v0.10.21
npm: 1.3.11
skeleton: twitter-bootstrap.docpad
os: mac os 10.8.5
assert: setting maxAge should set a Cache-Control header for files being served by the docpad express server
result:Cache-Control header not set
I found the only way to set the Cache-Control header was within the serverMiddlewareHeader method (https://github.com/bevry/docpad/blob/master/src/lib/docpad.coffee#L4512)
Also having issues with a plugin I just wrote https://github.com/stongo/docpad-plugin-st
It handles gzip correctly for instance, but is unable to set the Cache-Control header.
The static middleware here https://github.com/bevry/docpad/blob/master/src/lib/docpad.coffee#L4662 isn't setting the cache either