Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Cache Dynamic Content

    Scheduled Pinned Locked Moved Italiano
    3 Posts 1 Posters 956 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Ninno
      last edited by

      Ciao a tutti,
      vorrei ottimizzare al meglio la cache per gli update dei pc, al momento ho inserito queste righe in Custom refresh_patterns :

      –----------
      refresh_pattern ([^.]+.|)(download|adcdownload).(apple.|)com/..(pkg|dmg) 4320 100% 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

      Add one of these lines for each of the websites you want to cache.

      refresh_pattern -i microsoft.com/.*.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims

      refresh_pattern -i windowsupdate.com/.*.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims

      refresh_pattern -i windows.com/.*.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims

      DONT MODIFY THESE LINES

      refresh_pattern ^ftp:          1440    20%    10080
      refresh_pattern ^gopher:        1440    0%      1440
      refresh_pattern -i (/cgi-bin/|?) 0    0%      0
      refresh_pattern .              0      20%    4320
      –----------------------------

      Ho fatto bene ? Ne devo aggiungere altre ?

      Inoltre volevo chiedere se è possibile/consigliabile fare la cache anche di altro.

      Grazie a tutti

      1 Reply Last reply Reply Quote 0
      • N
        Ninno
        last edited by

        Purtroppo dai logs non sembra stia funzionando…

        Sto installando 20 macchine nuove e non prende gli update dal firewall...

        Ho impostato tutti i parametri come suggerisce il wiki...

        Cattura.JPG
        Cattura.JPG_thumb

        1 Reply Last reply Reply Quote 0
        • N
          Ninno
          last edited by

          Disattivando Squid guard, il servizio si avvia, ma comunque non sembra funzionare….

          Ora ho inserito solo questa riga :
          #WINDOWS
          refresh_pattern ([^.]+.)?(download|(windows)?update).(microsoft.)?com/.*.(cab|exe|msi|msp|psf|esd) 4320 100% 43200 reload-into-ims;

          Cattura.JPG
          Cattura.JPG_thumb

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.