Page 1 of 1

Expires headers?

Posted: Wed Nov 16, 2016 12:50 pm
by sjaythompson
Is there any way to set far future expiry headers on images handled by ImageEngine? It appears the default is for a short lifetime.

Re: Expires headers?

Posted: Wed Nov 16, 2016 1:10 pm
by aaronp
Hi,

It is possible to adjust the expiry for ImageEngine by setting the `Expires` or `Cache-Control: max-age=` headers on your origin server.

For example `mod_expires` is used to control content expiration in Apache (http://httpd.apache.org/docs/2.4/mod/mod_expires.html)

Hope this helped. Let us know if you have any other questions!

Thanks,

Aaron