I have another question for you: I found a member of URLImpl named "the_request". It's apparently design to content the original request. If ENABLE_SAVE_ORIGINAL_REQUEST is defined to a positive value, the TS is already able to initialise that. Is that a good way to save my needed information? If no, what do you think to be a good way to do that?
Thank you! Réjean Bouchard Nexweb -----Message d'origine----- De : Leif Hedstrom [mailto:[email protected]] Envoyé : 21 juin 2013 11:03 À : [email protected] Cc : Réjean Bouchard Objet : Re: Want to get the original URL On 6/21/13 6:44 AM, Réjean Bouchard wrote: > In my case, the cache_vary_headers is off. Here is all "vary" lines > in my records.config : > > CONFIG proxy.config.http.cache.enable_default_vary_headers INT 0 > CONFIG proxy.config.http.cache.vary_default_text STRING NULL CONFIG > proxy.config.http.cache.vary_default_images STRING NULL CONFIG > proxy.config.http.cache.vary_default_other STRING NULL > > I attach the entire file with this mail. I currently use version 3.2.4. > What version did you use? The question is: how can we purge a file if > the original URL is not available? If you send a "PURGE" request it also goes through the remap rules, and will purge the appropriate entry in cache. curl -X PURGE http://ts1.example.com/test.txt I don't know if the cache inspector does the same (I'd imagine it would, but not sure, I never use it). -- Leif
