GetFileServiceHandleClientCache Method |
Sets client cache headers.
Returns
CMSNotModifiedResult when requested file is in client's cache,
otherwise.
Namespace: CMS.Routing.WebAssembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 13.0.131
Syntax 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:
CMSActionResultReturns
CMSNotModifiedResult when requested file is in client's cache,
otherwise.
See Also