Click or drag to resize
GetFileServiceHandleClientCache Method
Sets client cache headers. Returns CMSNotModifiedResult when requested file is in client's cache, otherwise.

Namespace: CMS.Routing.Web
Assembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 13.0.131
Syntax
C#
protected CMSActionResult HandleClientCache(
	CMSFileResult fileResult,
	string eTag,
	DateTime lastModified,
	bool publicCache
)

Parameters

fileResult
Type: CMS.Base.RoutingCMSFileResult
The CMSFileResult to populate cache headers.
eTag
Type: SystemString
Entity tag of object to compare against ETag received in request
lastModified
Type: SystemDateTime
Timestamp of the last modification to compare against value in request
publicCache
Type: SystemBoolean
Indicates whether response can be cached by public cache systems or not

Return Value

Type: CMSActionResult
Returns CMSNotModifiedResult when requested file is in client's cache, otherwise.
See Also