Answer the question
In order to leave comments, you need to log in
How to enable cache for external resources?
Hey!
There is a site, on it on the page in HTML a bunch of external scripts are connected (advertising, styles, metrics, the same jquery from CDN, etc.). So google pagespeed and other quality assessment services constantly swear that these resources are not cached. Indeed, these elements are returned without Cache-Control.
I understand that caching must be enabled on the server hosting these external resources. But can I somehow influence that the Cache-Control header is added by my own means (there is nginx and django in the location, but I think this is not important)? It is not possible to host all such resources at home.
Answer the question
In order to leave comments, you need to log in
No, it's best to download all sorts of jquery, etc. to your server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question