Cache Control on some media

Discussion to talk about software related topics only.
Post Reply
Claudio
Posts: 12
Joined: Thu May 30, 2013 8:16 am

Cache Control on some media

Post 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
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Cache Control on some media

Post 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">
Claudio
Posts: 12
Joined: Thu May 30, 2013 8:16 am

Re: Cache Control on some media

Post 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.
Post Reply