pathPreprocessor property

PathPreprocessor? pathPreprocessor
getter/setter pair

Preprocessor that will be used to preprocess the path of each request,

  • if specified.
  • By default, it removes uriVersionPrefix, if specified and found
  • in the request's path.
  • However, to really make uriVersionPrefix to work, you usuaully have
  • to provide a preprocessor to remove all possible prefixes (including
  • the current version and all previous versions).
  • After all, browsers with cached content might request a file with
  • an older version.

Implementation

PathPreprocessor? pathPreprocessor;