GetFileHandler HandleClientCache Method Kentico 8.1 API Reference
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.0.0.0 (8.1.5347.20411)

Parameters

eTag
Type: OnlineSystem String
Entity tag of object to compare against ETag received in request
lastModified
Type: OnlineSystem DateTime
Timestamp of the last modification to compare against value in request
publicCache
Type: OnlineSystem Boolean
Indicates whether response can be cached by public cache systems or not

Return Value

Type: OnlineBoolean
Returns true when requested file is in client's cache, false otherwise.
See Also