The number of milliseconds to wait before [up-preload]
starts preloading.
The maximum number of responses to cache. If the size is exceeded, the oldest items will be dropped from the cache.
The number of milliseconds until a cache entry expires. Defaults to 5 minutes.
How long the proxy waits until emitting the up:proxy:slow
event.
Use this to prevent flickering of spinners.
The maximum number of concurrent requests to allow before additional requests are queued. This currently ignores preloading requests.
You might find it useful to set this to 1
in full-stack integration
tests (e.g. Selenium).
Note that your browser might impose its own request limit regardless of what you configure here.
An array of uppercase HTTP method names. AJAX requests with one of these methods
will be converted into a POST
request and carry their original method as a _method
parameter. This is to prevent unexpected redirect behavior.
An array of uppercase HTTP method names that are considered safe. The proxy cache will only cache safe requests and will clear the entire cache after an unsafe request.