Condividi tramite


profiles Element for caching [IIS Settings Schema]

Note

For more information about the profiles element, see the following topic on the Microsoft IIS.net Web site: Caching Profiles <profiles>.

Configures the profile to use for output caching.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

None.

Child Elements

Element

Description

add

Optional element.

Adds an output caching profile to the collection of output caching profiles.

remove

Optional element.

Removes a reference to an output caching profile from the output caching profile collection.

clear

Optional element.

Removes all references to output caching profiles from the output caching profile collection.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.webServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

caching

Configures output cache settings.

Remarks

For more information about the profiles element, see the following topic on the Microsoft IIS.net Web site: Caching Profiles <profiles>.

Element Information

Configuration locations

Machine.config

ApplicationHost.config

Root application Web.config

Application Web.config

Directory Web.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0

See Also

Reference

add Element for profiles for caching [IIS Settings Schema]

remove Element for profiles for caching [IIS Settings Schema]

clear Element for profiles for caching [IIS Settings Schema]