Howdy, Stranger!

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


Set squid to cache everything
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.