Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

How do I set expiry date for an image?

Is this a server side operation or can it be done as an html tag attribute?

What if I only want to set different expiry dates for different images/resources?

share|improve this question
add comment

1 Answer 1

You're asking about the Expires header, which is sent by the server along with the HTTP response.
It is controlled by the server; for more details, consult your server's documentation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.