## Index

### Variables

- CACHE_CONTROL_NO_CACHE_REGEXP

### Functions

- fresh
- parseHttpDate
- parseTokenList

## Variables

### Const CACHE_CONTROL_NO_CACHE_REGEXP

CACHE_CONTROL_NO_CACHE_REGEXP: RegExp = /(?:^|,)\s*?no-cache\s*?(?:,|$)/

- Defined in home/runner/work/opine/opine/src/utils/fresh.ts:32

## Functions

### fresh

- fresh(reqHeaders: any, resHeaders: any): boolean

- - Defined in home/runner/work/opine/opine/src/utils/fresh.ts:42

  Check freshness of the response using request and response headers.

  #### Parameters

  - ##### reqHeaders: any

  - ##### resHeaders: any

  #### Returns boolean

### Private parseHttpDate

- parseHttpDate(date: any): number

- - Defined in home/runner/work/opine/opine/src/utils/fresh.ts:103

  Parse an HTTP Date into a number.

  #### Parameters

  - ##### date: any

  #### Returns number

### Private parseTokenList

- parseTokenList(str: string): any[]

- - Defined in home/runner/work/opine/opine/src/utils/fresh.ts:115

  Parse a HTTP token list.

  #### Parameters

  - ##### str: string

  #### Returns any[]

Generated using TypeDoc