[squid-users] Advice regarding Squid Vs regular Apache

2010-05-16 Thread Reverse Squid
Hey,

Using Squid for some time now (reverse) to speed up my web page for my clients.
While I simply purge my HTML files to make Squid come back and take
'em, can't I just rsync them over to a local apache, instead of Squid?
That way I will even save the first request (all the files will simply
be there), save all the over-head and IMS requests and everything.
I would simply copy my files over upon every update and save them in
the local file system.
I don't even need mod_cache or anything.

Other than maybe serving cached objects off memory and enabling
cache_peers for faster replies, why would I need Squid?

I'm just trying to find the best solution for my site, which isn't
that difficult cache-wise.

Would like to hear advice from anyone :)

Thanks,
V'


[squid-users] how .htaccess gets cached and works with Last-Modified

2010-05-12 Thread Reverse Squid
Hello List,

We have an .htaccess in a certain directory in our origin server which
redirects requests upon USER-AGENT.
How does Squid treat that .htaccess?
If it were to cache it, as it itself does not change, all requests
will follow the first USER-AGENT, ie, if I come with Firefox 2.0 I get
redirected to www.redirectedexample.com
and that page gets cached. The second person that will request that
page will get to www.redirectedexample.com and will bypass the
.htaccess check, am I right?

Thanks,
V'