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

    Solved: How to cache musics from music site

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 509 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.
    • W
      waldopulanco
      last edited by waldopulanco

      Hi! may I ask about caching musics the problem is there a increment number on a filename. here is the example url: link text http://188.138.108.110/tb/b/52/bad_bunny_feat._drake_mia_video_oficial_mp3_19044.mp3

      The 19044 in the filename is incremented every time I visited the site. so when I create a store ID like this

      ^http\:\/\/.*\/tb\/.*\/(.*\.(mp3|3gp|mp4|flv|m4v|m4a|avi|wmv))
      

      it was cache but when I reload the page http://188.138.108.110/c.php?s=blabla. the number in the filename was change. so it cannot retrieve the cache.

      any idea to achieve it? or to bypass the increment number and ignore when retrieving the cache object?

      I tried different store id like this

      "^http\:\/\/.*\/tb\/.*\/(.*_mp3)"
      "^http\:\/\/.*\/tb\/.*\/(.*_mp3)_.*(\.((mp3|3gp|mp4|flv|m4v|m4a|avi|wmv)))"
      

      thanks in advance!

      ps: Solved. the ACL and store id won't work because It was conflict to other refresh pattern, so I remove that refresh pattern.

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