Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "sw/Prefetcher"

Index

Type aliases

DevtoolsAckMessage

DevtoolsAckMessage: { bufferedDevtoolMessages: DevtoolsRequestMessage[]; type: "edgio-devtools-ack" }

Type declaration

DevtoolsRequestMessage

DevtoolsRequestMessage: { browserCache: string; request: { method: string; prefetch: boolean; url: string }; response: { headers: {}; status: number; ttfb: number }; routeConfig?: RouteConfig; timestamp: number; type: "edgio-devtools-request" }

Type declaration

  • browserCache: string
  • request: { method: string; prefetch: boolean; url: string }
    • method: string
    • prefetch: boolean
    • url: string
  • response: { headers: {}; status: number; ttfb: number }
    • headers: {}
      • [key: string]: string
    • status: number
    • ttfb: number
  • Optional routeConfig?: RouteConfig
  • timestamp: number
  • type: "edgio-devtools-request"

RouteConfig

RouteConfig: { convertToGet?: undefined | false | true; criteriaPath?: undefined | string; edgeMaxAgeSeconds?: undefined | number; isPartialPathRoute: boolean; key?: CustomCacheKeyConfig[]; maxAgeSeconds: number; method?: HTTPMethod; pattern: string; prefetchUpstreamRequests?: undefined | false | true }

Type declaration

  • Optional convertToGet?: undefined | false | true
  • Optional criteriaPath?: undefined | string
  • Optional edgeMaxAgeSeconds?: undefined | number
  • isPartialPathRoute: boolean
  • Optional key?: CustomCacheKeyConfig[]
  • maxAgeSeconds: number
  • Optional method?: HTTPMethod
  • pattern: string
  • Optional prefetchUpstreamRequests?: undefined | false | true

Variables

Const BUFFER_DELAY_MS

BUFFER_DELAY_MS: number = 10000

Generated using TypeDoc