Export (0) Print
Expand All

Output Cache Provider (AppFabric 1.1 Caching)

The Microsoft AppFabric 1.1 for Windows Server output cache provider is an out-of-process storage mechanism for output cache data. This data is specifically for full HTTP responses (page output caching). The provider plugs into the new output cache provider extensibility point that was introduced in ASP.NET 4.

noteNote
For this release, the output cache provider does not support Web Forms control-level output caching.

Capabilities

The following list describes the benefits of storing output cache data out-of-process:

  • Developers can store larger amounts of output cache data because the only effective upper boundary on the quantity of data that can be cached is the cumulative amount of memory available to the AppFabric cache cluster.

  • Output cache data is not lost when a web application is recycled. Since the output cache data is stored externally outside of the IIS worker process, output cache data survives ASP.NET application restarts.

  • It can use compression.

Compression is a feature of Microsoft AppFabric 1.1 for Windows Server Caching. In the configuration file, you can enable caching in the dataCacheClient element with the isCompressionEnabled attribute. The following example shows a dataCacheClient named default that has compression enabled.

    <dataCacheClient name="default" isCompressionEnabled="true">
      <hosts>
        <host name="CacheServer1" cachePort="22233" />
        <host name="CacheServer2" cachePort="22233" />
      </hosts>
    </dataCacheClient>

ImportantImportant
All cache clients must be updated to use the latest Microsoft AppFabric 1.1 for Windows Server SDK if compression is enabled.

In This Section

See Also

  2012-09-12
Show:
© 2014 Microsoft