Click or drag to resize
CMSActionResultSetTimeStamps Method
Sets the last modified and expires header to the response

Namespace: CMS.Base.Routing
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public void SetTimeStamps(
	DateTime lastModified,
	bool allowClientCache,
	int clientCacheMinutes,
	bool publicCache = true
)

Parameters

lastModified
Type: SystemDateTime
Last modified date.
allowClientCache
Type: SystemBoolean
True if client cache is allowed for the current action.
clientCacheMinutes
Type: SystemInt32
Cache minutes.
publicCache (Optional)
Type: SystemBoolean
True if object can be cached by clients and proxies, false if only by clients.
See Also