<div dir="ltr">Hi, <div><br></div><div style>I am trying to configure Plack::Middleware::Expires and Deflater to add an expires header and gzip with the following in my config.yml:</div><div style><br></div><div style><div>
plack_middlewares:</div><div>  -</div><div>    - Expires</div><div>    - content-type</div><div>    -</div><div>      - image/gif</div><div>      - image/jpeg</div><div>    - expires</div><div>    - access plus 1 day</div>
<div>  -</div><div>    - Deflater</div><div><br></div><div style>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.</div>
<div style><br></div><div style>Would appreciate your help,</div><div style><br></div><div style>Thank you.</div><div style><br></div></div></div>