Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Set squid to cache everything

obakfahadobakfahad Member
edited July 2015 in Help

Hi,
I want to make a squid proxy server which will cache everything and keep those cache and refresh the cache after 15 days least. Can you guys please give me a good configuration about that ?

Again, I want to cache everything from large ISO files to small gif files and archives . Thanks in advance. This is for my internal network (home systems).

Comments

  • fazarfazar Member
    edited July 2015

    caching large files is a bad idea. :)

    maximum_object_size 100 MB 
    max_stale 2 weeks
    refresh_pattern . 60 50% 14400 store-stale
    
    Thanked by 1obakfahad
  • obakfahadobakfahad Member
    edited July 2015

    @fazar said:
    caching large files is a bad idea. :)

    maximum_object_size 100 MB 
    max_stale 2 weeks
    refresh_pattern . 60 50% 14400 store-stale
    

    Need cache_dir but it hangs when i do squid3 -z .... Problem with latest squids ....

  • fazarfazar Member

    Try to enable logging, then re-try to create cache swap. By default, you can analyze all errors during cache swap creation in /var/log/squid/cache.log. In most case, cache swap creation failed because of file/folder permission issue.

    Thanked by 1obakfahad
Sign In or Register to comment.