Page 1 of 1

Cache Control on some media

Posted: Fri Oct 28, 2016 7:26 am
by Claudio
Hello, we made some web pages with reference to other media files inside them(images, css,...).
It seems that the browser reload each time said files: this is probably due to the absence of the "cache control" headers during download.
Is it possible to enable this feature?

Thank you,
Claudio

Actual NNDK: Ver. 2.7.5

Re: Cache Control on some media

Posted: Fri Oct 28, 2016 9:33 am
by rnixon
I'm not a html expert, but my understanding was that caching was enabled by default and all you could do is turn it off with:
cache-control <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

Re: Cache Control on some media

Posted: Fri Oct 28, 2016 11:46 am
by Claudio
rnixon wrote:I'm not a html expert, but my understanding was that caching was enabled by default and all you could do is turn it off with:
cache-control <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
This meta is only valid on html not on media referenced by.