Configuring Plack::Middleware::Expires
18 Feb
2013
18 Feb
'13
10:51 a.m.
Hi, I am trying to configure Plack::Middleware::Expires and Deflater to add an expires header and gzip with the following in my config.yml: plack_middlewares: - - Expires - content-type - - image/gif - image/jpeg - expires - access plus 1 day - - Deflater I find that while the Deflater middleware works correctly, the Expires does not. Is there an error in my YAML syntax? I tried to parse the YAML separately and I seem to get the correct options that Expires expects. Would appreciate your help, Thank you.
4645
Age (days ago)
4645
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gurunandan Bhat