<div dir="ltr">Thank you to pointing me on such nice tool.<br clear="all"><div><div class="gmail_extra">
<br></div><div class="gmail_extra">zigi<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 19, 2017 at 4:54 PM, Eliezer Croitoru <span dir="ltr"><<a href="mailto:eliezer@ngtech.co.il" target="_blank">eliezer@ngtech.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As you can see in the response headers there are no rules for caching:<br>
< HTTP/1.1 307 Temporary Redirect<br>
< Date: Tue, 19 Sep 2017 12:27:50 GMT<br>
< Server: Apache<br>
< Location: http://<a href="http://test.example.com/img.svg" rel="noreferrer" target="_blank">http://test.example.<wbr>com/img.svg</a><br>
< Content-Length: 249<br>
< Content-Type: text/html; charset=iso-8859-1<br>
< X-Cache: MISS from <squid-proxy><br>
< X-Cache-Lookup: MISS from <squid-proxy>:3128<br>
< Connection: keep-alive<br>
<br>
If you have a specific service try to use redbot to analyze the response:<br>
<a href="https://redbot.org/" rel="noreferrer" target="_blank">https://redbot.org/</a><br>
<br>
It might give you what you need.<br>
<br>
All The Bests,<br>
Eliezer<br>
<br>
* I do not know if it should be this way or not since I am missing couple things from the setup such as squid.conf..<br>
<br>
----<br>
<a href="http://ngtech.co.il/lmgtfy/" rel="noreferrer" target="_blank">http://ngtech.co.il/lmgtfy/</a><br>
Linux System Administrator<br>
Mobile: <a href="tel:%2B972-5-28704261" value="+972528704261">+972-5-28704261</a><br>
Email: <a href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a><br>
<br>
<br>
From: squid-users [mailto:<a href="mailto:squid-users-bounces@lists.squid-cache.org">squid-users-bounces@<wbr>lists.squid-cache.org</a>] On Behalf Of kAja Ziegler<br>
Sent: Tuesday, September 19, 2017 17:00<br>
To: <a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.<wbr>org</a><br>
Subject: [squid-users] When the redirect [301, 302, 307] is cached by Squid?<br>
<br>
Hi all,<br>
<br>
  I want to ask why my Squid does not cache redirects 301, 302 and 307. See anomised example below. Even if I call the URL more times or I open it in the browser, I always get MISS independently of the return code 301, 302 or 307.<br>
<br>
$ curl -v <a href="http://test.example.com/img307.jpg" rel="noreferrer" target="_blank">http://test.example.com/<wbr>img307.jpg</a><br>
<br>
> GET /img307.jpg HTTP/1.1<br>
> Host: <a href="http://test.example.com" rel="noreferrer" target="_blank">http://test.example.com</a><br>
> User-Agent: curl/7.50.1<br>
> Accept: */*<br>
><br>
< HTTP/1.1 307 Temporary Redirect<br>
< Date: Tue, 19 Sep 2017 12:27:50 GMT<br>
< Server: Apache<br>
< Location: http://<a href="http://test.example.com/img.svg" rel="noreferrer" target="_blank">http://test.example.<wbr>com/img.svg</a><br>
< Content-Length: 249<br>
< Content-Type: text/html; charset=iso-8859-1<br>
< X-Cache: MISS from <squid-proxy><br>
< X-Cache-Lookup: MISS from <squid-proxy>:3128<br>
< Connection: keep-alive<br>
<<br>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><br>
<html><head><br>
<title>307 Temporary Redirect</title><br>
</head><body><br>
<h1>Temporary Redirect</h1><br>
<p>The document has moved <a href="http://<a href="http://test.example.com/img.svg" rel="noreferrer" target="_blank">http://test.<wbr>example.com/img.svg</a>">here</a>.<wbr></p><br>
</body></html><br>
<br>
My anomised squid.conf is attached.<br>
Thanks in advance for clarification<br>
<br>
  zigi<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div></div></div>