On Jul 8, 2014, at 10:02 AM, [email protected] wrote: >> There is a Jira ticket somewhere to expose the cache inspector >> features as a set of command-line tools, but Jira being what it is, >> I can't find it right now.
http://nwk1-gnscapacity-sv11.apple.com:4242/cgi-bin/heatmap.cgi?num_hours=2&precision=0&stats_system=Epic&summarize=no&map_name=jptyo2_cdn_heat >> In the absence on that, tools that work >> on the access logs are a pretty reasonable solution. > > I am happy to read that, thanks I'm not wrong in my "not-a-C*-programmer" > approach! > >> If the goal is to invalidate large portions of the cache, that's >> typically done with a small plugin that injects a static version >> string into the cache key. To invalidate a portion of the cache >> (usually defined by a remap rule), you just rev the version string. > > OK, but does this kind of plugin already exists ? AFAIK there's not plugin that implements the goal below ... > My goal is to be able to purge the cache using pre-defined regex for types of > objects (images, audio, video, office, css, js) and also on demand regex. I > already classified the content in 13 categories to pre-define the regexes, > but more can come later. I think your approach is reasonable. > >>> Do you think this approach is a good one, or is there a more >>> suitable solution to get the valid (not expired) URLs Traffic >>> Server stores ? I was thinking of querying Traffic Server for non >>> stale objects to retrieve all valid URLs stored but it can be a >>> big IO consumer... >>> >>> I took a look at the API but since I am not programming C anymore >>> since years and C++ looks like bizarre I can't go this way. >
