4 ms·
Would it be possible to set it up so that the initial page load is completely static html served from cache? The page would then be updated when it changes, i.e
by Geee 15y ago
Would it be possible to set it up so that the initial page load is completely static html served from cache? The page would then be updated when it changes, i.e pushed to client and new cache.
There's lots of overhead on both server and client side generating everything dynamically, especially on slow mobile clients. Testing it on fast machine on localhost creates visible delay in initial DOM update. On typical content/read-heavy pages it would make sense to always serve static pages as a fast as possible and update cache and client-DOMs on database write.
- davej 15y agoI agree, I want to call the Meteor framework revolutionary, but this is the one thing that's stopping me. Unfortunately, it's only suitable for web applications (i.e. not content sites) because Google can't index it and permalinks wont work in browsers that don't support push state (IE 9 and below don't support push state). In my opinion, this is the missing feature to make Meteor revolutionary in the process of web development.
- jsdalton 15y agoLooks like a solution for this is coming down the pipeline: http://www.meteor.com/faq/can-meteor-serve-static-html http://www.meteor.com/faq/can-meteor-serve-static-html