forked from lix-project/hydra
Send ETag and Expires headers
This commit is contained in:
parent
fb643cd971
commit
c30cee55dd
|
@ -40,6 +40,10 @@ __PACKAGE__->config(
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'Plugin::Static::Simple' => {
|
||||||
|
send_etag => 1,
|
||||||
|
expires => 3600
|
||||||
|
},
|
||||||
'View::JSON' => {
|
'View::JSON' => {
|
||||||
expose_stash => qr/^json/,
|
expose_stash => qr/^json/,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue