3 ms·
So then how do you handle all your dynamic behavior, or are you actually suggesting we go back to the click-wait-click-wait paradigm of stateless web applicatio
by marknutter 10y ago
So then how do you handle all your dynamic behavior, or are you actually suggesting we go back to the click-wait-click-wait paradigm of stateless web applications?
Having client side JavaScript should not really add much to the overhead. Yes, the initial load time will be larger, but every subsequent request will be quicker because the server doesn't need to generate the markup and send it along the wire on every click.
- douche 10y agoHow many completely static sites are hopelessly broken without Javascript? This is a problem.
- sievebrain 10y agoUsing JavaScript rarely seems to fix click-wait-click-wait. It just replaces the browsers spinner with a javascript spinner. Raw HTML provides prefetch hints. That, combined with fast servers and replication to ensure those servers are near your users, are all a fast website needs. Of course if your website is actually an app then maybe it shouldn't be a website to begin with.