caching some (not all) files

snooper

Perch
hi all.

i have a dynamic site, much content comes from the database, so i use the following code to instruct no caching:

Code:
<%
Response.expires = 0
Response.expiresabsolute = Now() - 1
Response.addHeader "pragma", "no-cache"
Response.addHeader "cache-control", "private"
Response.CacheControl = "no-cache"

%>

But... i do not want the JPGs and GIFs that are part of my page template to be realoaded from scratch - those SHOULD be cached client side.

Is there a way to define some content to be no cache, others to cache?

Thanks
 
Back
Top