You are here: Configuration File > Content Management Configuration > Content Caching Configuration

Content Caching Configuration

Use the content caching feature to distribute on-demand content throughout your network. Clients request on-demand content from a subscriber. If the file is not available in the subscribers cache, it is requested from the publisher.

Note: In addition to the variables defined in this section, content caching depends on the authentication features. A default realm and database are created during set-up. Use this feature on the publisher. See "Security Configuration".

For more information: For information about defining content caching using Helix Administrator, see "Content Caching".

Content Caching Syntax

The following shows an example of content caching syntax:

<!-- Local File System; Cached Media Files --> 
<List Name="RealSystem Cache Filesystem">
<Var ShortName="pn-mii-mgr"/>
<Var MountPoint="/cachemgr/"/>
<Var CacheShortName="rn-cache"/>
</List>

<List Name="RNCache Local File System">
<Var ShortName="pn-local"/>
<Var MountPoint="/fsforcache/"/>
<Var BasePath="/home/user/Helix Mobile Server/Cache"/>
</List>
...
</List>
<!-- M E D I A C A C H E --> <List Name="RNCache"> <Var Enabled="1"/> <Var MaxCacheSizeMB="1000"/> <Var CacheMountPoint="/fsforcache/"/> </List> <!-- M E D I A E X P O R T & C A C H E A C C E S S --> <Var TSPort="7802"/> <Var TSLog="1"/> <Var TSLogPath="/home/user/Helix Mobile Server/cache.log"/> <List Name="MediaExportInterface"> <Var ListenPort="7878"/> <Var LoggingEnabled="1"/> <Var LogFile="/home/user/Helix Mobile Server/Logs/cache.log"/> <Var Enabled="1"/> <Var MinMIIVersionAllowed="1.0"/>
<Var ContentPublisher="1"/>
<Var AuthenticationRealm="ContentDistributionRealm"/>
</List> <!-- C O N T E N T S U B S C R I P T I O N --> <List Name="ContentSubscription"> <Var Enabled="1"/> <Var StatisticAggregationPeriodSec="10"/> <List Name="Publishers"> <List Name="MyPrimaryPublisher"> <Var Host="205.23.5.108"/> <Var Port="7878"/> <Var UserName="username"/> <Var Password="password"/> </List> <List Name="MySecondaryPublisher"> <Var Host="fileserver.espn.com"/> <Var Port="7878"/> <Var UserName="username"/> <Var Password="password"/> </List> </List> <List Name="Rules"> <List Name="100"> <Var EnableRule="1"/> <Var Rule="*.real.com"/> <List Name="Publishers"> <Var 100="MyPrimaryPublisher"/> <Var 200="MySecondaryPublisher"/> </List> </List> <List Name="200"> <Var EnableRule="1"/> <Var Rule="*.cp.com"/> <List Name="Publishers"> <Var 100="MyPrimaryPublisher"/> </List> </List> <List Name="300"> <Var EnableRule="1"/> <Var Rule="/demand/sports/*"/> <List Name="Publishers"> <Var 100="MyPrimaryPublisher"/> </List> </List> </List> </List>

Note: The RealSystem Cache Filesystem list defines the basic operation of the caching file system. These values should not be changed unless you are creating new plug-ins that control the caching operation. The remaining lists and variables allow you to change the features of the caching system.

For more information: See also UseContentDistribution.

Content Caching Lists

RNCache Local File System
MediaExportInterface
RNCache
ContentSubscription
Publishers
publisher_name
Rules
rule_number
Publishers

Content Caching Variables

AuthenticationRealm
BasePath
CacheMountPoint
ContentPublisher
Enabled
EnableRule
Host
MaxCacheSizeMB
MountPoint
Password
Port
publisher_number
Rule
ShortName
StatisticAggregationPeriodSec
TSLog
TSLogPath
TSPort
UserName

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com