Partial Output
Barba.js sends a custom HTTP Header x-barba
in the XMLHttpRequest
.
If you are using a server side language, you could detect this custom HTTP Header and output just the container instead of the entire page.
This could result in less bandwith usage and less server-side load.
Please note: doing so, you have to handle manually the upate of the title of the page.