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.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
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