[ https://issues.apache.org/jira/browse/TS-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225607#comment-14225607 ]
Zhao Yongming commented on TS-3212: ----------------------------------- well, if the ATS return you a 304, there will be two case: 1, the UA side IMS is pass to origin and origin returned with a 304, and that 304 response itself is saved 2, the content is saved in cache and expired, then ATS query the origin with a selfbuilding IMS header, origin server response with a 200, but ATS try to reponse with a 304 to UA. if it is case #2, please confirm that the content is saved in cache, and the origin response is 200. the http_ui and tcpdump or debug in records may help. I think that case #2 looks cool, but it should not saved as here the content is set to 'no cache', right? > 200 code is returned as 304 > --------------------------- > > Key: TS-3212 > URL: https://issues.apache.org/jira/browse/TS-3212 > Project: Traffic Server > Issue Type: Bug > Components: Cache > Reporter: Luca Rea > > The live streaming videos from akamaihd.net CDN cannot be watched because ATS > rewrite codes 200 into 304 and videos enter continuosly in buffering status: > {code} > GET > http://abclive.abcnews.com/z/abc_live1@136327/1200_02769fd3e0d85977-p.bootstrap?g=PDSTQVGEMQKR&b=500,300,700,900,1200&hdcore=3.1.0&plugin=aasp-3.1.0.43.124 > HTTP/1.1 > Host: abclive.abcnews.com > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 > Firefox/33.0 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3 > Accept-Encoding: gzip, deflate > Referer: > http://a.abcnews.com/assets/player/amp/2.0.0012/amp.premier/AkamaiPremierPlayer.swf > Cookie: _alid_=0OHcZb9VLdpbE6LrNYyDDA== > Connection: keep-alive > HTTP/1.1 200 OK > Server: ContactLab > Mime-Version: 1.0 > Content-Type: video/abst > Content-Length: 122 > Last-Modified: Tue, 25 Nov 2014 05:28:32 GMT > Expires: Tue, 25 Nov 2014 15:31:53 GMT > Cache-Control: max-age=0, no-cache > Pragma: no-cache > Date: Tue, 25 Nov 2014 15:31:53 GMT > access-control-allow-origin: * > Set-Cookie: _alid_=0OHcZb9VLdpbE6LrNYyDDA==; path=/z/abc_live1@136327/; > domain=abclive.abcnews.com > Age: 0 > Connection: keep-alive > GET > http://abclive.abcnews.com/z/abc_live1@136327/1200_02769fd3e0d85977-p.bootstrap?g=PDSTQVGEMQKR&b=500,300,700,900,1200&hdcore=3.1.0&plugin=aasp-3.1.0.43.124 > HTTP/1.1 > Host: abclive.abcnews.com > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 > Firefox/33.0 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3 > Accept-Encoding: gzip, deflate > Referer: > http://a.abcnews.com/assets/player/amp/2.0.0012/amp.premier/AkamaiPremierPlayer.swf > Cookie: _alid_=0OHcZb9VLdpbE6LrNYyDDA== > Connection: keep-alive > If-Modified-Since: Tue, 25 Nov 2014 05:28:32 GMT > HTTP/1.1 304 Not Modified > Date: Tue, 25 Nov 2014 15:31:58 GMT > Expires: Tue, 25 Nov 2014 15:31:58 GMT > Cache-Control: max-age=0, no-cache > Connection: keep-alive > Server: ContactLab > {code} > using the url_regex to skip cache/IMS doesn't work, the workaround is the > following line in records.config: > CONFIG proxy.config.http.cache.cache_urls_that_look_dynamic INT 0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)