Page Contents

Home > @loopback/http-caching-proxy > ProxyOptions

ProxyOptions interface

Signature:

export interface ProxyOptions 

Properties

Property Type Description
cachePath string Directory where to keep the cached snapshots.
port number The port where the HTTP proxy should listen at. Default: 0 (let the system pick a free port)
ttl number How long to keep snapshots before making a new request to the backend. The value is in milliseconds.Default: one day