Windows Media Player content does not play from cache resulting in 0% bandwidth savings

book

Article ID: 168256

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

When streaming media using Windows Media Player the content shows as cached, however the content results with 0% bandwidth savings when replayed.

Cause

This is caused by Windows Media Player not honouring the ProxySG cache settings by including in the initial request a Cache-Control header with the variable set to No-Cache':

Hypertext Transfer Protocol
    GET /video.wmv HTTP/1.1\r\n
        [Expert Info (Chat/Sequence): GET /video.wmv HTTP/1.1\r\n]
            [GET /video.wmv HTTP/1.1\r\n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Method: GET
        Request URI: /video.wmv
        Request Version: HTTP/1.1
 >> Cache-Control: no-cache\r\n
    Connection: Keep-Alive\r\n
    Pragma: getIfoFileURI.dlna.org\r\n
    Accept: */*\r\n
    User-Agent: NSPlayer/12.00.7601.17514 WMFSDK/12.00.7601.17514\r\n
    GetContentFeatures.DLNA.ORG: 1\r\n



 

Resolution

To mitigate this you would need to enable cacheing for your version of Windows Media Player, please visit http://www.microsoft.com for more information.

Workaround

As a workaround, you could download the file directly to your computer using a browser and play the file once fully received.  Doing this will note result in the no-cache header and server the content appropriately.