Handles all page caching operations for DataFactory.

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 6.0.530.0

Syntax

C#
public class DataFactoryCache

Remarks

The DataFactoryCache class lets you manipulate the EPiServer cache directly, although you'll seldom need to do so. EPiServer uses the ASP.NET Cache class, which you can also manipulate if needed.

If you should need to insert data or change page relationships directly in the database, you can use this class to clear the cache, ensuring EPiServer loads the new data from the database.

Examples

Clear the cache in a scenario when you are manipulating the database without using the EPiServer API.
CopyC#
DataFactoryCache.Clear();

Inheritance Hierarchy

System..::.Object
  EPiServer..::.DataFactoryCache

See Also