bertramdev / asset-pipeline

The core implementation of the asset pipeline for the jvm
194 stars 93 forks source link

Image Expires Tag and Cache-Control #156

Closed pangeaos closed 7 years ago

pangeaos commented 7 years ago

small question, I'm getting this message "Your site is not using expires headers for your images. An expires tag can help speed up the serving of your webpages for users that regularly visit your site and see the same images."

http://jeremy.zawodny.com/blog/archives/009272.html

Is there any way to add this ?

davydotcom commented 7 years ago

We use cache busting with digests instead

Sent from my iPhone

On Mar 20, 2017, at 5:00 PM, Adrian Rodriguez notifications@github.com wrote:

small question, I'm getting this message "Your site is not using expires headers for your images. An expires tag can help speed up the serving of your webpages for users that regularly visit your site and see the same images."

http://jeremy.zawodny.com/blog/archives/009272.html

Is there any way to add this ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

pangeaos commented 7 years ago

what about Cache-Control??? Can I define Cache-Control to the images?

image