LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2009, 04:08 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
squid cache


How do I change the cache settings for squid so that:
a. the cache is only stored for 7 days and
b. the cache does not cache video or mp3 files
 
Old 08-10-2009, 07:43 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Well I would recommend taking a look at your config file, and or perhaps the default config file that came with your package, probably in some directory called example. I find they are pretty good commenting the config so you know what your changes do.
 
Old 08-10-2009, 07:44 AM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by scheidel21 View Post
Well I would recommend taking a look at your config file, and or perhaps the default config file that came with your package, probably in some directory called example. I find they are pretty good commenting the config so you know what your changes do.
I did have a look but wasn't sure specifically only how long it was cached for and how to turn it off only for specific file types
 
Old 08-14-2009, 08:09 PM   #4
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
I seem to be getting a lot of these types of responses in the log files - TCP_MISS lines
1250298381.978 282 86.xxx.xxx.xx TCP_MISS/200 1941 POST http://ocsp.thawte.com/ demo_1 DIRECT/199.7.48.72 application/ocsp-response


What does that mean - the pages are loading correctly because I'm accessing them while viewing the tail of the file...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Active directory Authentication of parent non-squid cache to child squid cache espiya7 Linux - Server 0 05-05-2009 08:04 AM
squid cache moekad Linux - Server 0 03-27-2009 03:47 PM
squid just as cache abd_bela Debian 1 01-21-2009 06:21 AM
squid cache dablew Linux - Software 2 07-13-2007 11:45 AM
Squid Cache I think it is AJones Linux - Security 1 07-03-2005 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration