2 ms·
A wonderful solution for this is the Turbolinks approach which is a part of the standard Rails stack. The new page request takes place over Ajax, the server se
by andrei_says_ 9y ago
A wonderful solution for this is the Turbolinks approach which is a part of the standard Rails stack.
The new page request takes place over Ajax, the server sends the whole page, and only the body gets replaced thus avoiding the need for loading common assets and initializing js.
I'm simplifying but hopefully you get the point.