CMSActionResultSetTimeStamps Method |
Sets the last modified and expires header to the response
Namespace: CMS.Base.RoutingAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax 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