Product Documentation

Configure video caching

You can configure the video caching feature through either the Citrix SD-WAN WANOP graphical user interface or command line interface. By default, the appliance is configured to cache videos from YouTube and Vimeo. Youku, Metacafe, and Dailymotion are also configured on the appliance by default. All you have to do is enable them. You can add video websites, such as an internal website serving video tutorials or other information .

Note

Video caching an optional feature that is not enabled by default. You need not enable it unless you have a substantial amount of HTTP video traffic .

Prerequisites

To configure video caching on the appliance, make sure that the following prerequisites are met:

  • You have configured appropriate IP address for accelerated bridge port you are planning to use for video caching.

  • You can ping the apA/apB gateway from the appliance.

  • DNS Server details are accurate.

  • Appliance can resolve the DNS name www.Citrix.com.

  • The Citrix SD-WAN WANOP apX IP address has an HTTP access in your corporate network.

  • If the appliance is deployed between the trunk ports of two network devices, you must specify the VLAN ID with the IP address to be used by the appliance to send HTTP requests on the Network Configuration page.

  • For Web (Internet)and Web (Private) service classes, the Acceleration Policy setting should not be set to None.

Enable video caching feature

Before you can start using the video caching feature, you must enable it.

To enable video caching:  

  1. Navigate to the Configuration > Appliance Settings > Network Adapters, under Management Settings section verify and ensure that the Primary DNS Server details are accurate and the appliance is able to resolve the DNS name www.Citrix.com. Click the edit icon to change the settings.

    localized image

  2. Navigate to the Configuration > Appliance Settings > Network Adapters. In the Network Adapters section, select an acceleration pair ( for example apA) and clik Edit.

    Ensure that the IP addresses, network mask, and default gateway IP addresses specified for the accelerated pair are accurate.

    localized image

  3. Navigate to the Configuration > Appliance Settings > Features page and enable Video Caching feature.

    A confirmation dialog box appears, click Yes.

    localized image

    Note

    The service restarts and a new caching partition is created. If you are enabling the feature for the first time on the appliance, a new partition is created by reducing the disk space allocated to other disk based compression. The disk based compression history is reset, and existing connections are terminated.

  4. Alternatively, you can navigate to Configuration > Optimization Rules > Video Caching  and click Enable.

    localized image

Add video websites

The appliance is configured to cache videos from YouTube and Vimeo, and is partially configured to cache videos from Youku, Metacafe, and Dailymotion. To cache videos from any of the latter three sites, you must enable the site. A video from an enabled website is cached as soon as a user accesses it. You can configure additional video websites that do not require URL rewrite by adding their host names or IP addresses to the Video Source list on the appliance. You can also include custom sites that do not have any cache avoidance mechanisms.

You must enable these video sources before the appliance can cache videos from them.

The video caching feature uses video sources for the configuration workflow. If you configure any of the video sources with a host name or a website/hostname, the appliance proxies all HTTP traffic that flows through the appliance. However, if you configure all video sources with IP addresses only, the appliance proxies and caches only these IP addresses. Regardless of whether you use host names or IP addresses, if your organization does not permit access to the YouTube, Vimeo, Dailymotion, Metacafe, and Youku websites, make sure that you disable these video sources.

To enable a video source:

  1. Navigate to Configuration > Optimization Rules > Video Caching > Video Sources.

  2. Select a video source from the list click Modify.

    localized image

  3. In the Cache Status drop-down box, select Enable and click Save.

To add a video source:

  1. Navigate to Configuration > Optimization Rules > Video Caching > Video Sources, click Add.

  2. In the Video Source field, type the website name or IP address of the web server that you want to add to the video source list.

  3. In the Cache Status list, ensure that Enabled is selected. You can select Disabled from this list if you want to enable video caching for this site at a later time.

    localized image

  4. Click Create.

    To delete a video source, select it from the Video Sources list and click Delete.

Configure video caching