trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van Doorn, Jan R" <Jan_VanDo...@cable.comcast.com>
Subject Re: Disallow based on Mime Types
Date Fri, 18 May 2012 16:44:34 GMT
I haven't tried this myself, but I think the mime type will map to a certain suffix? So you
could try this in cache.config:

dest_domain=. suffix="js" action=never-cache

Rgds,
JvD

On 05/18/2012 09:41 AM, BRA Lento wrote:
Hi guys,

   Anyone knows if it's possible to allow or disallow caching based on mime type table or
list ?
   I have huge problems with application/x-javascript and application/json scripts and i want
to disallow this kind of content to be cached.


   Thanks in advance,

    Best regards,

    Bob


Mime
View raw message