This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HTTP Proxy Cache Objects

Im wondering what exactly the HTTP Proxy caches when enabled? I would like for it to cache downloads up to a certain size as well so if another user on the network attempts to download it just comes from the proxy. 

Unfortunately I can download the same file 10 times and each time it comes from the net. Is there any way to do this?

Thanks


This thread was automatically locked due to age.
Parents
  • [ QUOTE ]
    Im wondering what exactly the HTTP Proxy caches when enabled? I would like for it to cache downloads up to a certain size as well so if another user on the network attempts to download it just comes from the proxy. 

    Unfortunately I can download the same file 10 times and each time it comes from the net. Is there any way to do this?

    Thanks 

    [/ QUOTE ]
    the deaulft fize size for caching is less than 100K.  If the file you are downloading is larger than this the proxy will not cache it. 
    If you are confortable not having tech support from astaro you can hack the squid-default.conf file to make it cache larger objects.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Our experience has been significantly different.  When enabled at the sites we manage, the cache retains files of very large sizes for a long time -- such as Windows updates and other downloads.  The size of the cache isn't, to our knowledge, limited by any specific file size, but by the size of the hard drive.  We typically use 80 GB hard drives and have returned to sites weeks later and performed computer system updates that still pulled very large files out of cache.

    There are certain types of files that will not be read back out of cache -- those are almost always downloads in which the file name changes dynamically.  We see this a lot with antivirus updates.

    Hope this helps.
  • thanks fellas. Some officail word on what it is based on would be good. Specific files or just purely the file size?

    Cheers
  • The cache reads in just about everything except dynamic content.  The downloads that you don't seem to retain are the result of dynamic filenames.  The Proxy doesn't seem to consider file length as a factor.
  • very interesting..the squid-default.conf says otherwise..at least as of 5.007.  Maybe that has changed.  As i am not running v5 i cannot attest to this.  Office defender could you send me a copy of a v5 squid-default.conf?

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Reply
  • very interesting..the squid-default.conf says otherwise..at least as of 5.007.  Maybe that has changed.  As i am not running v5 i cannot attest to this.  Office defender could you send me a copy of a v5 squid-default.conf?

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Children
No Data