Click or drag to resize
GetFileHandlerHandleClientCache Method
Sets client cache headers. Responds HTTP code 304 Not Modified and returns true when requested file is in client's cache.

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

Parameters

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: Boolean
Returns true when requested file is in client's cache, false otherwise.
See Also