This package implements an optimized HTTP client that is used for all requests made through Unpoly.
The HTTP client offers many quality-of-life improvements, for example:
X-Up-Target header. The server may choose to only render the targeted fragment.up:request:loaded or up:network:late are emitted throughout the request/response lifecycle.Unpoly's HTTP client is used automatically when rendering, e.g. when following a link
or submitting a form. To use the client from your own JavaScripts, use up.request().
Makes an AJAX request to the given URL.
This event is emitted when AJAX requests are taking long to finish loading.
Makes an AJAX request to the given URL and caches the response.
Makes the cache assume that newRequest has the same response as the
already cached oldRequest.
Expires cache entries.
Evicts responses in the cache.