Chrome Doesnrsquot Open The Mp3 File That Is Partially Cached How To Get It
In your web-application if you are using mp3 file and on client side It’s partially cached and you want them to directly open them in browser it will not work. There is a little trick to get it worked.
Remember the query-string trick that is used for invalidate the cache in jQuery.
for example
if you don’t want to cache the stuff in browser then we use timestamp
example.com?time=1111211
Everytime time is new integer so this will never be cached.
Same thing can be used for mp3.
example.com/abc.mp3?test=121
Now Chrome will not download the cached the mp3 file. The benefit of using this trick is chrome will not take a long time to show the file that chrome already have partially cached.