You can do that, with squid 2.5 and the rproxy.patch - which you can get -
from http://squid.sourceforge.net/rproxy/
you can also do it without the rproxy.patch - it just has less
functionality.. but if you are running only one site.. then you could
probably do fine without it..
then you would use the httpd_accel_* options.. see the docs from
squid-cache.org/doc
if you want to "preload" everything in squid - the only way is to crawl the
site, with a wget -r f.ex. through squid.
-------------| This mail has been sent to you by: |------------
Klavs Klavsen, IT-coordinator and Systems Administrator at
Metropol Online - http://www.metropol.dk
Tlf. 33752700, Fax 33752720, Email ktk@metropol.dk
Private- Email klavs@klavsen.net - http://www.vsen.dk
--------------------[ I believe that... ]-----------------------
It is a myth that people resist change. People resist what other
people make them do, not what they themselves choose to do...
That's why companies that innovate successfully year after year
seek their peopl's ideas, let them initiate new projects and
encourage more experiments. -- Rosabeth Moss Kanter
Hello list,
I didn´t found anything similar in the archives,
so I post a new question:
I want to use squid as an accelerator for one dedicated webserver with
special behavoir:
The webserver is up: Squid refreshes immediately when requested and store
in
cache
The webserver is down: Squid gives back the cache content _until_ the
"real"
webserver is up again.
If that isn´t possible:
Perhaps I have to mirror the webserver´s content with "wget" or something
else to a webserver on the same machine where squid is installed.
The next question is: how force squid to use the mirror and switch back
later
to the real one...?
Any hints?
Greetings
-- Andre Ruppert technische Leitung <ar@vision-net.de> ================================= Vision Consulting Deutschland oHG Osterather Str.7 50739 Köln tel +49 221 917 15 33 fax +49 221 917 15 38 email info@vision-net.de www.vision-net.de =================================Received on Wed Nov 07 2001 - 07:07:31 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:03:57 MST