- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: which is the best way to delete squid cache ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 10:22 AM
тАО05-26-2005 10:22 AM
which is the best way to delete squid cache ?
how often should I do that ?
I have Squid 2.5.STABLE4 installed on linux SUSE 8.2
and I'm using it for about 250 clients.
for Squid Cache I have configured 20GB in squid.conf :
cache_dir ufs /var/cache/squid 20000 16 256
kind regards
chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 11:13 AM
тАО05-26-2005 11:13 AM
SolutionI *DO NOT* advise doing this. The whole point of Squid is to have those cached files. The ageing settings is what you care about, as this tells squid whether it should keep something in the cache or not (see the 'refresh_pattern' settings in squid.conf).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 04:45 PM
тАО05-26-2005 04:45 PM
Re: which is the best way to delete squid cache ?
If you could provide reasoning for wanting to delete it, there might be possible suggestions on improving the situation.
Stuart's already provided you the info on how to do it.
I would shut down the squid server prior to going against his advice. At least the server will start clean.
Once a day should do it, if you go ahead. You will notice users slowing down after the cache is dumped.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2005 02:12 AM
тАО05-28-2005 02:12 AM
Re: which is the best way to delete squid cache ?
I would like to delete, because our proxy users have a problem
with one website (booking engine).
Some users can work with these webseite without problems
and some of them get page errors.
Shift-Refresh doesn't help.
Or how can I delete not the whole cache,
but only the cache of these webseite ?
greetings
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2005 04:33 AM
тАО05-28-2005 04:33 AM
Re: which is the best way to delete squid cache ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2005 04:42 AM
тАО05-28-2005 04:42 AM
Re: which is the best way to delete squid cache ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 06:23 AM
тАО06-02-2005 06:23 AM
Re: which is the best way to delete squid cache ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 08:01 AM
тАО06-02-2005 08:01 AM
Re: which is the best way to delete squid cache ?
If your problem occurs only for known sites you may tell squid not to cache those sites.
See the documentation on http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.8
regards,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 08:37 AM
тАО06-02-2005 08:37 AM
Re: which is the best way to delete squid cache ?
but should I really put this:
^
before the URL ?
acl XYZZY url_regex ^http://www.i.suck.com/foo.html$
no_cache deny XYZZY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 11:12 AM
тАО06-02-2005 11:12 AM
Re: which is the best way to delete squid cache ?
i.e. ^http:// means the URL has to start with 'http://'.
The example you've got in your previous post would seem that the enture URL would have to be an exact match.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 12:25 AM
тАО06-09-2005 12:25 AM
Re: which is the best way to delete squid cache ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 12:31 AM
тАО06-09-2005 12:31 AM