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.WebAssembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 11.0.0
Syntax 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:
BooleanReturns true when requested file is in client's cache, false otherwise.
See Also