http - When playing an MP3 from cache, Firefox displays "File not found" -
calling my script should play audio in browser of type audio/mpeg
.
the audio plays in firefox when force-refreshing, upon second call audio not play.
the script tries set cache-control
stop caching. yet browser seems caching, , not able retrieve audio content.
on first call, browser receives:
http/1.1 200 ok date: thu, 08 mar 2012 20:21:16 gmt server: apache x-powered-by: php/5.3.8 cache-control: public, must-revalidate, max-age=0, max-age=86400 pragma: no-cache accept-ranges: bytes content-disposition: inline; filename=627.mp3 content-transfer-encoding: binary content-length: 16299 last-modified: wed, 22 feb 2012 21:58:33 gmt expires: sat, 10 mar 2012 20:21:16 gmt keep-alive: timeout=5, max=100 connection: keep-alive content-type: audio/mpeg
on second call, though, receives:
http/1.1 304 not modified date: fri, 09 mar 2012 20:21:54 gmt server: apache connection: keep-alive keep-alive: timeout=5, max=100 expires: sat, 10 mar 2012 20:21:54 gmt cache-control: public, must-revalidate, max-age=0, max-age=86400 x-pad: avoid browser bug
... , audio not play.
any hints on why audio not play upon second call?
Comments
Post a Comment