Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CacheItem

Hierarchy

  • CacheItem

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

cacheControl

cacheControl: CacheControlType = CacheControlType.Public

date

date: Date = new Date()

maxAge

maxAge: number = 0

value

value: any

Accessors

expired

  • get expired(): boolean

Methods

Static fromData

Static toData

  • toData(cacheItem: CacheItem): string | undefined