[
https://issues.apache.org/jira/browse/TS-4205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15267412#comment-15267412
]
Leif Hedstrom edited comment on TS-4205 at 5/2/16 8:22 PM:
-----------------------------------------------------------
You could *maybe* do some shenanigans in a header_rewrite configuration, but
seems rather complex (at least without a proper IP "matcher" implementation in
the plugin?). Basically, proxy.config.http.cache.ignore_client_cc_max_age is
overridable, so a plugin could turn on/off that option fairly easily (just have
to have the IP matching).
So, you could something like this today
{code}
cond %{CLIENT-IP} /^192\.168\.101\./ [OR]
cond %{CLIENT-IP} /^75\./
set-config proxy.config.http.cache.ignore_client_cc_max_age 0
{code}
was (Author: zwoop):
You could *maybe* do some shenanigans in a header_rewrite configuration, but
seems rather complex (at least without a proper IP "matcher" implementation in
the plugin?). Basically, proxy.config.http.cache.ignore_client_cc_max_age is
overridable, so a plugin could turn on/off that option fairly easily (just have
to have the IP matching).
> Plugin to allow nocache only for some ip-ranges
> -----------------------------------------------
>
> Key: TS-4205
> URL: https://issues.apache.org/jira/browse/TS-4205
> Project: Traffic Server
> Issue Type: New Feature
> Components: Plugins
> Reporter: Christoph K.
> Priority: Minor
> Fix For: sometime
>
>
> Would be nice if there was an easy way to allow sending nocache for some
> ip-ranges / addresses only and ignore all the others. Right now the only
> option is to allow or none.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)