I am currently trying to use an AJAX type navigation for my website but there is so many way to do it and i don't know which of theses ways is the best.
In my head there is 2 main ways :
- Using Hash change on URL
This way is pretty simple but is it the best with history management?
I find it a little confusing for users too.
- Using
window.history.pushState
This way look very clean but here the probleme can be the referencing.
If you know a good tutorial (up to date) with the best practises for AJAX that would be awesome.