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

    Squid dynamic caching url with ?

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 879 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.
    • J
      jeepster
      last edited by

      Does anyone know how I can cache a video with the following type of url?

      example http://i.somedomain.com/videotitle.mp4?cat=some-catagory

      I'm very new to squid and FreeBSD. I'm learning a lot by searching but so far I haven't figured out how to cache the above video. I've been able to cache videos that end  with .mp4 but that question mark in the url, I always see a miss.

      any insight would be greatly appreciated. Thanks

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        this acl is created while caching windows update is selected on squid3-dev.

        # Windows Update refresh_pattern
        range_offset_limit -1
        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 windows.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims
        

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

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