Solutions

Policy for caching YouTube content

Solutions ID:    KB5121
Version:    10.0
Status:    Published
Published date:    05/11/2012
Updated:    10/21/2013
 

Problem Description

The volume of YouTube traffic on your network grows continually and you need the ability to efficiently cache YouTube content on ProxySG appliances. For efficient WAN/Internet bandwidth usage, you require a policy configuration ensuring that after a video is cached on the ProxySG appliance, all subsequent requests for the same video are served from the cache.

Resolution

Blue Coat has provided a custom policy (attached to this KB article) that allows the appliance to effectively cache YouTube content to optimize bandwidth savings and user experience.

Important: Final policy update for SGOS 5.x and 6.x was released on September 24, 2013; if you run SGOS 5.x or 6.x, you can update to the attached policy. Policy for 4.x was not updated and has been deprecated. Both policies attached to this article are the final versions and will no longer be maintained from this point onward. To continue to stay up-to-date with policy for caching YouTube content, upgrade to SGOS 6.5.2.x or later and subscribe to the CachePulse service. For more information on the CachePulse service, refer to the SGOS 6.5.2.x Administration Guide.

To install YouTube caching policy:

  1. Download the appropriate YouTube caching policy text file:
    • YouTubeCachingPolicy_SG5_6.txt (for SGOS 5.x and 6.x)
    • YouTubeCachingPolicy_v4.txt (for SGOS 4.x)
  2. Open the text file in Notepad or other text editor.
  3. On each ProxySG appliance, complete the following steps:
    1. Log in to the Management Console (https://<IP_address>:8082).
      In ProxySG VA MACH5 Edition, go to the Management Console by clicking the Configure tab and then clicking the Advanced configuration button. 
    2. Select Configuration > Policy > Policy Files.
    3. Next to Install local file from, select Text Editor from the drop-down menu.
    4. Click Install. The Text Editor window opens.
    5. Copy the contents of the YouTubeCachingPolicy text file and paste it into the window.
      Make sure you delete/overwrite any previous versions of YouTube policy.
    6. Click Install.
      A dialog appears, stating that the file was successfully installed.
    7. Click OK to close the dialog.
    8. Click Close to exit the Text Editor.

Notes:

  • If you have set the maximum size of cached objects to a low value (such as 1 MB), most videos will not cache. To verify if this is the case, select Configuration > Proxy Settings > HTTP Proxy > Policies. Verify the value in the field "Do not cache objects larger than ___ megabtyes". 
  • If you see reduced or limited caching effectiveness with this policy over time, please migrate to SGOS 6.5.x or later and obtain a subscription to the CachePulse service.
  • In Chrome, videos do not load if you play them in YouTube with HTML5.

Attachment

YouTubeCachingPolicy_v4.txt
6K • < 1 minute @ 56k, < 1 minute @ broadband


Attachment

YouTubeCachingPolicy_SG5_6.txt
11K • < 1 minute @ 56k, < 1 minute @ broadband



Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question