trimmings
trimmings copied to clipboard
Configure default parameters for ajax requests
It would be great if we could configure the ajax/fetch requests to include additional information, a bit like axios config defaults
Our use case is that we want to add a custom header X-Requested-With-Trimmings
that way we can detect this on the server and only serve partial HTML if we know we don't need to render the full page.