Is it posible to log only the TCP_MISS or .*MISS
the access_log says TCP_REFRESH_HIT but the X-Cache reader reply say's MISS is
there something we can do about this?
the following url always miss even changing cdn server(i157,i200,i236)
http://i200.photobucket.com/albums/aa73/fs-layouts/friendster-layouts.com/2009/05/thinking-of-you/thinking-of-you.gif
http://i200.photobucket.com/albums/t72/gbbp/Images/jewel-heart-notes/images/today-tomorrow-forever.gif
http:/
Date Wed, 21 Jan 2004 19:50:30 GMT
Pragma no-cache
Cache-Control private, no-cache, no-cache=Set-Cookie, proxy-revalidate
Expires Wed, 17 Sep 1975 21:32:10 GMT
Last-Modified Wed, 19 Apr 2000 11:43:00 GMT
How to cache contents with this kind of headers?
ignore-private ignore-no-cache ignore-m
example: xxx.photobucket.com
patch works
http://www.squid-cache.org/bugs/show_bug.cgi?id=2678
Thanks to Amos for the store.log tip
Not exactly, Youtube video's are cacheable but you'll never get HIT without
redirect or StoreUrlRewrite. It only poisoned your cache.
Why? Beacuse the youtube's URL has varialbles not just the domain but in the
path it self.
StoreUrlRewrite is the most efficient way of caching contents from pop
can we use internal redirector(rewrite feature) to replace/remove some
regex(\&begin=[0-9]*) on URL?
like..
http://www.foo.com/video.flv&begin=900
to
http://www.foo.com/video.flv
Can we use this to X-Cache? --> acl aclname rep_header header-name [-i]
any\.regex\.here
Because I've been try to match X-Cache HIT from Server
for the purpose of log_access deny HIT.
i've tried;
acl hit rep_header X-Cache ^HIT from Server$ <- not working
acl hit rep_header X-Cache HIT\ from\
I think this well help
acl maxcon maxconn 4
acl partial rep_header Content-Range .*
http_reply_access deny partial maxcon
- Original Message
From: Henrik Nordstrom
To: MonzT
Cc: squid-users@squid-cache.org
Sent: Tuesday, June 30, 2009 4:23:50 AM
Subject: Re: [squid-users] acl maxcon
I'm Using Quad core 3Ghz. Thats why I just run squid(2 instances, to support
quick abort with delay pool) on virtual machine(with max usage of 2% so far)
and the rest used it for games, and some electronic simulations.
- Original Message
From: Amos Jeffries
To: Ronan Lucio
Cc: squ
Theoretically suppose to work. although it limits 4 connection but the download
doesn't finish.
I wonder how site's replied that gave 4 connections when I'm requesting 16.
http code 416? or 408...
- Original Message
From: Amos Jeffries
To: Henrik Nordstrom
Cc:
header:
X-Cache HIT from Server
the following doesn't work
acl hit rep_header X-Cache HIT\ from\ Server
or
acl hit rep_header X-Cache HIT.from.Server
or even
acl hit rep_header X-Cache HIT.*Server
it only match for
acl hit rep_header X-cache HIT
I'm using this for
log_access deny hit
I'm wonde
What are the disadvantages if we block vary header and pass to frontend Squid.
www -> squid2 -> Squid1 -> clients
squid2(vary header blocked, null cachedir,delay pool)
squid1(storeurl,always direct all html)
I no longer have issues(Bug#: 2678) on storeurl+vary for that setup, plus quick
abort
I've encounter 302 loop cache hit and solved but not for 301.. can you provide
some link?
- Original Message
From: Mike Mitchell
To: Henrik Nordstrom
Cc: "squid-users@squid-cache.org"
Sent: Wednesday, August 12, 2009 1:00:39 AM
Subject: RE: [squid-users] "moved permanently" loop det
ignore-no-store has been removed in 2.7?
I have this in log. What are this swapfile clashes
that are being avoided?
why they are being avoided...
2009/09/23 19:42:53| 2166281 Entries
scanned
2009/09/23 19:42:53| 0 Invalid entries.
2009/09/23
19:42:53| 0 With invalid flags.
2009/09/23 19:42:53| 1455120
Objects lo
server_http11 on will do the trick.
- Original Message
> From: Amos Jeffries
> To: Agung T. Apriyanto
> Cc: squid-users@squid-cache.org
> Sent: Sat, October 3, 2009 9:17:55 AM
> Subject: Re: [squid-users] facebook and excess data
>
> Agung T. Apriyanto wrote:
> > recently i got a lot
server_http11 on will do the trick
- Original Message
> From: "Kelly, Jack"
> To: squid-users@squid-cache.org
> Sent: Fri, October 9, 2009 12:10:02 AM
> Subject: [squid-users] Strange issues with accessing facebook and other php
> driven sites via proxy
>
> Hi everyone,
> At my office
I've try squid 2.7 stable 4 with feature coss.
using mozillia with firebug. first browse cache miss.
second browse cache hit.
after restarting squid
browsing site again suppose to be cache hit right? but its cache miss all of it.
running squid -d1 found out its being released.
one more thing closi
Is there a way the 302,303 or redirect contents will not be precess by squid?
I've used storeurl feature since you cannot deny reply header i'm wondering is
there a way that these contents will bypass storeurl or it will just go follow
the redirect before entering to squid.
Original Message
From: Adrian Chadd <[EMAIL PROTECTED]>
To: Amos Jeffries <[EMAIL PROTECTED]>
Cc: chudy fernandez <[EMAIL PROTECTED]>; Adrian Chadd <[EMAIL PROTECTED]>
Sent: Wednesday, September 10, 2008 11:28:19 PM
Subject: Re: [squid-users] 302,303 redirect
I've bee
Can I ask some examples for this feature external_refresh_check in squid.conf
and in perl script...
i have
refresh_pattern -i (get_video\?|videoplayback\?|videodownload\?)161280
5% 525948override-expire override-lastmod
I don't know it's acceptable. what are the limits(maximum) for min, percent and
max?
I've posted as ask by Adrian.
http://wiki.squid-cache.org/WikiSandBox/Discussion/YoutubeCaching
I wanna know if somebody out there has a better idea of how to fix
it(temporarily) it inside the squid.
First download...
http://srv0107-08.sjc3.imeem.com/G/3/a3fyPn66Hu0NCjZ5lh07AXysH--kyIK4751AzIiSs2MuU4JanDY3_cdiGG9g796p5DMt9ikrlvIpNLUFMRB8WoA6X4UThXIN9foS59ipZBypp6-KY65fNuf2_4uV3JW0Nu2e1xFHR_hlO8Xu4BR7inF1jrQwNppyCJysoCxUZyEBMyLTzglQ-HuoK2IzDoAYwifb_neG41Ei0Wvsm9HU7358APQI6TpRK-wtrsJ6ICSjgSMb7xv
# TAG: rewrite
i've tried
rewrite %301:http://www.google-analytics.com/__utm.gif utm
doesn't work.
whats missing?
why ignore-no-store is no longer available on squid2.7 & squidhead.
#!/usr/bin/perl
$|=1;
while (<>) {
@X = split;
if (($X[4] =~ /POST/) && ($X[1] =~ /files\/[0-9]*\/[0-9]*/)) {
print "$X[0] 302:$X[1]\n";
} else {
print "$X[0] $X[1]\n";
}
}
note:
url_rewrite_children 1
url_rewrite_concurrency 99
how to do this in rewrite feature?..
squid configuration shows weird on cachemgr
@squid.conf
delay_pools 1
delay_class 1 2
delay_parameters 1 18432/18432 -1/-1
delay_initial_bucket_level 100
delay_body_max_size 1048576 1 allow all
@cachemgr
delay_pools 1
delay_class 1 2
delay_parameters 1 18432/18432 -1/-1
delay_initial_bucket_level
Those anybody has seen like this?
squid.conf configuration is
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
but Store Directory Stats @ cachemgr.cgi say's
Removal policy: lru
the complete Store Directory Stats:
Store Directory Statistics:
Store Entries :
is it ok if we add some minimum file size to reload_into_ims?
reload_into_ims with small files takes huge delay rather than fetching directly.
check your access.log if this content was cache HIT, if it is then this is
cache hit storeurl redirect loop.
You can also see this using firebug plugin on firefox.
follow the link below.
http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube/Discussion
Chudy
- Original Message
from this wiki -> http://wiki.squid-cache.org/Features/CyclicObjectStorageSystem
squid 2.7.9 coss as partition on freebsd7.2 still has issues? or this is
specific to coss as partiion only.
configured with
'--enable-storeio=coss,aufs' \
'--with-pthreads' \
'--with-aio' \
got error
2010/06/03 18:
33 matches
Mail list logo