caf_platform/pipe_static

Processing pipeline for static content.

Properties:

 {publicPath: string, maxAgeMsec: number, strongHash: Array.<string>}

where:

  • publicPath: the path, possible relative to the location of this file, where the static files reside. For example, if an app has a top level public dir with all the static content, and includes caf_platform as node_modules/caf_core/node_modules/caf_platform/lib/, the relative path is ../../../../../public.
  • maxAgeMsec: maxAge resource setting in msec. A negative or zero value means do not set.
  • strongHash: list of files that require a crypto strong, content-based, hash.
Source:

Extends