Skip to content

remix/route-pattern/match · Interface

View Source

MatcherLimits

Summary

Resource limits applied while compiling and matching route patterns.

Signature

interface MatcherLimits {
  maxMatcherSize: number
  maxMatchWork: number
  maxPatternSize: number
}

Properties

maxMatcherSize

Maximum combined size of all patterns, measured in UTF-8 bytes. Defaults to 16,777,216.

maxMatchWork

Maximum aggregate work performed by one URL match. Defaults to 1,000,000.

maxPatternSize

Maximum size of one pattern, measured in UTF-8 bytes. Defaults to 65,536.