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

Is it possible for experts to make modifications and fixes, and is there a better way to store http

Scheduled Pinned Locked Moved Cache/Proxy
1 Posts 1 Posters 182 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.
  • S
    sakaralaa
    last edited by Apr 23, 2021, 1:38 AM

    qos_flows local-hit=0x30
    http_access allow all
    http_port 3128 intercept
    http_port 3129

    cache_mem 14080 MB
    maximum_object_size_in_memory 64 KB
    maximum_object_size 409600 MB

    detect_broken_pconn off
    ipcache_size 9999
    persistent_connection_after_error on
    retry_on_error on
    quick_abort_min -1
    #range_offset_limit -1
    reload_into_ims on
    pipeline_prefetch on
    collapsed_forwarding on
    pipeline_prefetch 64
    dns_nameservers 8.8.8.8

    store_dir_select_algorithm round-robin
    cache_dir aufs /1 3500000 16 256
    cache_dir aufs /2 3500000 16 256
    cache_dir aufs /3 2500000 16 256
    cache_dir aufs /4 2500000 16 256
    cache_dir aufs /5 3500000 16 256

    catch all

    refresh_pattern . 360 90% 1440 override-lastmod reload-into-ims
    refresh_pattern . 180 95% 43200 override-lastmod reload-into-ims

    refresh_pattern -i .vodu.me 129600 100% 129600 ignore-reload ignore-no-store override-expire override-lastmod ignore-must-revalidate

    TESTING: Caching everything like crazy!

    refresh_pattern ^http: 43800 100% 525600 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-no-store ignore-must-revalidate reload-into-ims ignore-auth store-stale
    refresh_pattern . 360 90% 1440 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-no-store ignore-must-revalidate reload-into-ims ignore-auth store-stale

    Gaming CDN

    refresh_pattern -i .akamai.net 525600 100% 525600 reload-into-ims ignore-reload override-expire override-lastmod ignore-no-store ignore-private ignore-auth
    refresh_pattern -i .cs.steampowered.com 525600 100% 525600 reload-into-ims ignore-reload override-expire override-lastmod ignore-no-store ignore-private ignore-auth
    refresh_pattern -i .llnwd.net 525600 100% 525600 reload-into-ims ignore-reload override-expire override-lastmod ignore-no-store ignore-private ignore-auth

    refresh_pattern -i .(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 override-expire ignore-no-cache ignore-no-store ignore-private
    refresh_pattern -i .(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-no-store ignore-private
    refresh_pattern -i .(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 10080 90% 43200 override-expire ignore-no-cache ignore-no-store ignore-private
    refresh_pattern -i .index.(html|htm)$ 0 40% 10080
    refresh_pattern -i .(html|htm|css|js)$ 1440 40% 40320
    refresh_pattern -i .(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 432000 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-no-store ignore-must-revalidate reload-into-ims ignore-auth store-stale

    refresh_pattern . 999999999 100% 999999999 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-no-store ignore-must-revalidate reload-into-ims ignore-auth store-stale
    refresh_pattern -i . 999999999 100% 999999999 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-no-store ignore-must-revalidate reload-into-ims ignore-auth store-stale
    refresh_pattern . 999 100% 999999999 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-no-store ignore-must-revalidate reload-into-ims ignore-auth store-stale
    refresh_pattern -i ^http://.squid.internal. 241920 100% 241920 override-lastmod override-expire ignore-reload ignore-must-revalidate ignore-private ignore-no-store ignore-auth store-stale
    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

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received