How To Add Expires Headers To External Images
As the title says, how do we add expires headers to external images like my gravatar in here?
Re: How To Add Expires Headers To External Images
Reply #1 –
You cannot.
It's the server that sets the expiry date, unless you control the server you can't do much about it.
Re: How To Add Expires Headers To External Images
Reply #3 –
But out of curiosity, why would you want to add an expire header to external images?
Re: How To Add Expires Headers To External Images
Reply #5 –
Shouldn't expires headers be our good practise, even on the external images or other external files?
But I get it that we cannot add it to the external files since we are not in control of their servers, except by caching them locally.
So, can any of the mentioned addons actually cache them?
Re: How To Add Expires Headers To External Images
Reply #7 –
My mod won’t mess with the expires headers. It just passes the image through to the other application. If you use the nginx option you can modify the headers or use your own custom camo or weserv server aswell actually.