Type Alias CacheOptions

CacheOptions: {
    ifMatch?: boolean;
    ifNoneMatch?: boolean;
}
  • if {ifNoneMatch: true} is set, we are passing ETag value from cache response to the request 'if-none-match' header for data validation.
  • if {ifMatch: true} is set, we are passing ETag value from cache response to the request 'if-match' header for data validation.

v0.0.1