Old 2nd April 2018, 18:32   #1
Jannes01
Junior Member
 
Join Date: Aug 2017
Posts: 7
Shoutcast no cache html5 player

On every SHOUTcast Streams Status (V2) page, there is a html5 webplayer, which has a nocache function.
When you copy the audio link you see something like "/stream?type=http&nocache=376"
I also have a html5 audio player on my site, and this one is caching sometimes, So how is this done?
I think it is with javascript but i can't find out exactly how to do this?
Anyone can help me with this?
Jannes01 is offline   Reply With Quote
Old 2nd April 2018, 21:56   #2
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,455
I would say that each time you load the dnas page the nocache= value is different, that way, your browser will see the url as unique and not attempt to find it in it's cache. the nocache= parameter is most likely ignored by the dnas in returning the actual stream.
djSpinnerCee is online now   Reply With Quote
Old 3rd April 2018, 18:58   #3
Jannes01
Junior Member
 
Join Date: Aug 2017
Posts: 7
Ok thanks but, how can i achieve the same thing on my website, so visitors also don't have a caching webplayer.
Jannes01 is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Site Design

Tags
html5 audio nocahce cache

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump