Results 1 to 6 of 6
Hi,
I have Squid with Caching enabled.
1. Is there a maximum size I can have on cache? I currently setup at 3GB or 3000mb, can I have as large ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-01-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 44
Caching Server
Hi,
I have Squid with Caching enabled.
1. Is there a maximum size I can have on cache? I currently setup at 3GB or 3000mb, can I have as large as I want? I have 500GB hdd on that server, so I have lots of room for cache.
2. how to configure "Retention" ? so the older cache will auto delete.
3. what will happen if the cache is FULL ?
Thanks!
- 02-01-2011 #2
1. reading small portions from a hdd cache can be slower than downloading it
2. a cache invalidates itself
3. depends on the caching strategy used
- 02-01-2011 #3Just Joined!
- Join Date
- Jan 2011
- Posts
- 44
So, do you recommend adjustting HDD cache to large size? say 10GB ? or higher?
- 02-01-2011 #4
It's like asking: "Would you recommend penicillin or mixed banana?"
If you want to make a milkshake take the banana but if you suffer from a bacteria infection take the penicillin. It simply depends on the usecase.
How many users connect through the proxy and are they located within a LAN or also remotely? Is the hdd cache a solid state or a spinning drive at 5400rpm? How often and how many times do these users access the same website within less than a hour? How fast is your internet connection?
- 02-01-2011 #5Just Joined!
- Join Date
- Jan 2011
- Posts
- 44
- 02-02-2011 #6
i doubt the 10gb cache will ever come even close to full. but hey, if you can afford it, bigger is always better.

But I would cache small stuff (< 500kb) in memory as that tends to be faster, specially when the hard drive is spinning like a wheelie and doing other jobs.
Caching bigger stuff (>> 500kb) to hdd would make sense.


Reply With Quote

