<div dir="ltr"><div><div><div>Hi, Amos,<br></div>We are using forward tproxy . We used to 
redirect the packets coming  from client for port 80 to squid proxy 
server. Squid spoofs the request and establishes a connection with 
Server transparently. Please find the configuration below<br><br></div>Client --- > Squid proxy server --- > web Server<br><div><br>=====<br>http_port 3128<br>http_port 3129 tproxy<br>http_port 80 accel defaultsite=<a href="http://abcexample.com">abcexample.com</a><br>refresh_pattern -i <a href="http://abcexample.com/*">abcexample.com/*</a> 600 0% 600 override-expire override-lastmod reload-into-ims ignore-reload<br>refresh_pattern -i <a href="http://abcexample2.com/*">abcexample2.com/*</a> 600 0% 600 override-expire override-lastmod reload-into-ims ignore-reload<br>=====<br><br></div>Basically
 we want to increase the page load times by caching the images. 
Sometimes the specific client is triggering HTTP request with 
cache-control as no-cache. We want to mandate the packets coming from 
specific client to be cached in squid to increase the page load times .  
In order to avoid serving the stale content we have configured a refresh pattern.<br><br></div>- Cross<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 27, 2016 at 1:39 PM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 28/02/2016 6:46 a.m., Yuri Voinov wrote:<br>
><br>
> request_header_accesss cache-control deny all<br>
><br>
> and<br>
><br>
> acl specified_clients src 192.168.100.1 192.168.100.2<br>
> request_header_accesss cache-control deny specified_clients<br>
><br>
<br>
</span>All tht directive controls is what Squid *outputs* to server on its own<br>
upstream requests. It wont help for this question.<br>
<span class=""><br>
<br>
> 27.02.16 23:42, Anonymous cross пишет:<br>
>><br>
>> Hi, All,<br>
>> I want squid to ignore "pragma:no-cache/cache-control:no-cache" header<br>
> in HTTP client request. Is there any configuration available in squid to<br>
> achieve this?<br>
>><br>
<br>
</span>Why?<br>
<br>
What type of proxy are you running forward/explicit, intercept/tproxy,<br>
or reverse/CDN ?<br>
<br>
What does your squid.conf contain?<br>
<span class=""><br>
<br>
>> Also i want to ignore cache control header only for specific URL's? Is<br>
> there any way in squid to achieve this?<br>
>><br>
<br>
</span>The client is *demanding* that you dont use stale outdated cache<br>
content. There is usually a good reason for that demand not being a<br>
polite request. So please answer the Qs above.<br>
<span class="HOEnZb"><font color="#888888"><br>
Amos<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Regards,<br>Anonymous cross.</div>
</div>