Expires headers?

sjaythompson
Posts: 1
Joined: Wed Nov 16, 2016 12:39 pm

Expires headers?

Postby sjaythompson » Wed Nov 16, 2016 12:50 pm

Is there any way to set far future expiry headers on images handled by ImageEngine? It appears the default is for a short lifetime.

aaronp
Posts: 191
Joined: Wed Dec 09, 2015 12:39 pm

Re: Expires headers?

Postby aaronp » Wed Nov 16, 2016 1:10 pm

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


Who is online

Users browsing this forum: No registered users and 1 guest