[ 
https://issues.apache.org/jira/browse/TS-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421249#comment-13421249
 ] 

Conan Wang commented on TS-1291:
--------------------------------

It's easy to normalize the URL in TS plugin (about 10 lines core code for this 
requirement).
Actually I have a simple remap plugin inspired by cacheurl above. Can configure 
like: 
{code}
map  http://example.com  http://real.example.com  
@plugin=cache_ignore_querystring.so
{code}
Contact me if you would like to try(or I can open source it somewhere). It's 
stable in my common reverse-proxy environment.
                
> ignore query string in url
> --------------------------
>
>                 Key: TS-1291
>                 URL: https://issues.apache.org/jira/browse/TS-1291
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cache
>    Affects Versions: 3.0.4
>         Environment: Ubuntu 11.04 / ATS 3.0.4
>            Reporter: JH Kim
>            Assignee: Leif Hedstrom
>
> I use ATS 3.0.4 in reverse proxy cache. Is there any method to cache with 
> ignore query string?
> For example request urls are not same, but contents are same. like below;
> request 1 : 
> http://mysite.test.com/static/cs4.swf?clickthru=http://yoursite.test.com/main.asp?bcode=N04000000&mseq=177
> request 2 : 
> http://mysite.test.com/static/cs4.swf?clickthru=http://yoursite.test.com/main.asp?bcode=N04000000&mseq=178
> request 3 : 
> http://mysite.test.com/static/cs4.swf?clickthru=http://yoursite.test.com/main.asp?bcode=N04000000&mseq=179
> Actually, http://mysite.test.com/static/cs4.swf is same object.
> How to ignore query string like 
> "?clickthru=http://yoursite.test.com/main.asp?bcode=N04000000&mseq=179";
> thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to