I’m trying to speed up my site a bit. How can I add Expire headers to images I upload? Must this be done with Apache configuration, or is there a setting or plugin to do the job?
Leave a Reply
You must be logged in to post a comment.
I’m trying to speed up my site a bit. How can I add Expire headers to images I upload? Must this be done with Apache configuration, or is there a setting or plugin to do the job?
You must be logged in to post a comment.
This can be done with Apache configuration, I have used this snippet in the past in .htaccess:
Can be set up with plugin as well. W3 Total Cache (which I currently use) can do that among other things.
Overall this is not a huge performance factor. Modern browsers are smart enough about caching images even without expires set.