Re: [squid-users] Limit Bandwith for youtube....

2016-08-26 Thread Alex Rousskov
On 08/26/2016 11:54 AM, Matus UHLAR - fantomas wrote:
> On 26.08.16 03:16, Yuri Voinov wrote:
>> Google Streaming video is not cacheable.
>> Absolutely.  If users are watching the same video, each time it is
>> downloaded from the outside. Slowly and sadly.

> could something like collapsed forwarding solve this problem?

Collapsed forwarding does not make uncachable responses cachable. If
your problem is caused by uncachable responses, then collapsed
forwarding is not a solution.

Alex.

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-26 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
Dont' sure.

http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube/Discussion?highlight=%28Youtube%29


26.08.2016 23:54, Matus UHLAR - fantomas пишет:
> On 26.08.16 03:16, Yuri Voinov wrote:
>> Everything can be much easier. Google Streaming video is not cacheable.
>> Absolutely.  If users are watching the same video, each time it is
>> downloaded from the outside. Slowly and sadly.
>
> could something like collapsed forwarding solve this problem?
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXwJQxAAoJENNXIZxhPexGLBYH/ApOKtpBO/gt+u5aj9AJuHUP
cXczUTYRHwgD/Q5vDbLXOzEuVVoyTMxWW6Shl6wC6LHStznOE/gwQig9CPsg7JcK
rh34hn6uttyi0Q7/BQuszGBW4WMOJCYDAEt+T6PK4R784iMu/WJRQMebgPch1h6L
dSquzNy2q0D8eDflpNiAkIW8ZJgeiyTTPbVbOPUMwPnl9QxYACwDRSegl3KBNrQz
zoBHDVO/svoJqp9howoq+sFQnrlitpfgdIqchtE2sUGEAeh0eScAdJGzbed6eNT2
RO1/T39RhUCaqjDax0kiHlaZSTSorj69XfwuJYp9pMxNi9XWSZYsDu80FmQ+e8I=
=C6gy
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-26 Thread Matus UHLAR - fantomas

On 26.08.16 03:16, Yuri Voinov wrote:

Everything can be much easier. Google Streaming video is not cacheable.
Absolutely.  If users are watching the same video, each time it is
downloaded from the outside. Slowly and sadly.


could something like collapsed forwarding solve this problem?

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Microsoft dick is soft to do no harm
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] TCP_RESET non http requests on port 80

2016-08-26 Thread Alex Rousskov
On 08/26/2016 08:42 AM, Omid Kosari wrote:
> Alex Rousskov wrote
>> I do not know why deny_info does not work in your tests.

> Should i give up ?

I cannot answer that question, but if you decide to keep going, then I
am sure that somebody can figure out why deny_info does not work for
you. You may have to try various configurations, supply good debugging
information, and/or pay somebody to make that happen.

I recommend starting with something like this:

  http_reply_access deny all
  deny_info TCP_RESET all

Does that reset all connections to Squid (after Squid fetches the reply)?

Alex.

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] TCP_RESET non http requests on port 80

2016-08-26 Thread Omid Kosari
Alex Rousskov wrote
> I do not know why deny_info does not work
> in your tests.

Should i give up ?



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/TCP-RESET-non-http-requests-on-port-80-tp4679102p4679207.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] Shared Caching with Authorization

2016-08-26 Thread LIJO C J
Hi,
I have a resource representation in a REST service.  The response content  is 
same for allusers. But the response should be accessed only by 
authorizedInventoryAuditors.


 
1.  How should be the response headers set to leveragecaching in Squid (as 
a forward proxy)?

2.  How Squid will validate that the requested useris an authorized 
InventoryAuditor, while serving the response from cache?


 

 

 
[RoutePrefix("api/users")]

public classUsersController : ApiController

{

   [Authorize(Roles="InventoryAuditor")]

   [Route("")]

   [HttpGet]

    publicList GetAllUsers()

    {

   //Return list of users

    }


 
}


 
public class User

{

    publicint UserID { get; set; }

    publicstring FirstName { get; set; }

}

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users