Ghost WAN traffic when enable Cache Dynamic Content



  • 
    #range_offset_limit 0;
    refresh_pattern ([^.]+.|)(download|(windows|)update|).(microsoft.|)com/.*\.(cab|exe|msi|msp) 4320 100% 43200 reload-into-ims;
    refresh_pattern -i microsoft.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims;
    refresh_pattern -i windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims;
    refresh_pattern -i my.windowsupdate.website.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims;
    
    refresh_pattern ([^.]+.|)avg.com/.*\.(bin) 4320 100% 43200 reload-into-ims;
    refresh_pattern ([^.]+.|)spywareblaster.net/.*\.(dtb) 4320 100% 64800 reload-into-ims;
    refresh_pattern ([^.]+.|)symantecliveupdate.com/.*\.(zip|exe) 43200 100% 43200 reload-into-ims
    refresh_pattern ([^.]+.|)avast.com/.*\.(vpu|vpaa) 4320 100% 43200 reload-into-ims
    
    

    50 Hosts
    PFsense as Routing /Firewall / Proxy Non transparent / cache server

    i am winding WAN traffic in traffic real time display but no LAN traffic , i guess its due to caching some files like windows update

    i would like caching to stop auto download when client stops downloading or cancels download

    also can anyone explain 4320 100% 43200 reload-into-ims;  means ? like value 4320  , 100% , 43200 what does these value means



  • i am winding WAN traffic in traffic real time display but no LAN traffic

    This is a problem with Squid and dynamic content.  For each smaller segment of a file that your system requests, squid will download the entire file.  This means taht for 100MB of LAN traffic, you may be downloading more than 1 GB.  I don't know how to fix that.  I usually disable Dynamic Content in Squid.

    also can anyone explain 4320 100% 43200 reload-into-ims;  means ?

    http://www.squid-cache.org/Doc/config/