Commit 644cbdbb authored by Daniel Rossi's avatar Daniel Rossi
Browse files

- #6 cache control headers don't work on chrome windows, just use the cache busting url param.

parent d7939c07
...@@ -4,6 +4,7 @@ Version history: ...@@ -4,6 +4,7 @@ Version history:
------ ------
- #547 Live dynamic stream switching not working on Internap CDN - #547 Live dynamic stream switching not working on Internap CDN
- #563 fixes for resolving bitrates with the bitrateselect and menu plugin. - #563 fixes for resolving bitrates with the bitrateselect and menu plugin.
- #6 cache control headers don't work on chrome windows, just use the cache busting url param.
3.2.9 3.2.9
----- -----
......
...@@ -104,9 +104,7 @@ package org.flowplayer.bwcheck.detect { ...@@ -104,9 +104,7 @@ package org.flowplayer.bwcheck.detect {
loader.addEventListener(IOErrorEvent.IO_ERROR, onError); loader.addEventListener(IOErrorEvent.IO_ERROR, onError);
var request:URLRequest = new URLRequest(_referenceFileUrl + "?" + Math.random()); var request:URLRequest = new URLRequest(_referenceFileUrl + "?" + Math.random());
_nocache = new URLRequestHeader("Cache-Control", "no-store, no-cache, must-revalidate"); //#6 cache control headers don't work on chrome windows, just use the cache busting url param.
var headers:Array = new Array(_nocache);
request.requestHeaders = headers;
request.method = URLRequestMethod.GET; request.method = URLRequestMethod.GET;
loader.load(request); loader.load(request);
...@@ -116,6 +114,7 @@ package org.flowplayer.bwcheck.detect { ...@@ -116,6 +114,7 @@ package org.flowplayer.bwcheck.detect {
} }
protected function onError(event:IOErrorEvent):void { protected function onError(event:IOErrorEvent):void {
log.error();
var obj:Object = new Object(); var obj:Object = new Object();
obj.application = ""; obj.application = "";
obj.description = event.text; obj.description = event.text;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment