3 ms·
1. Make sure you're using the latest stable version of React core 2. Get a CDN for static assets 3. Use Webpack, again, for making development easier Saved y
by misterbowfinger 10y ago
1. Make sure you're using the latest stable version of React core
2. Get a CDN for static assets
3. Use Webpack, again, for making development easier
Saved you a click.
- dovdov 10y agoNow I have to find out what to do with my extra click, thank you real much!
- porker 10y agoUpvote the comment ;)
- amk_ 10y agoPretty much! Caching makes a big difference, especially for first-time visitors. For logged-in users, one particular big gain was getting rid of a join from users to events to show the notifications count, and replacing that with a counter cache (denormalization).
- dorianm 10y agoBy the way there is counter_culture[1] which is great for more complex counter caches: Inventory: product quantity 1 2 1 5 2 -1 2 3 2 10 And having a counter cache for the sum per product (e.g.: product.inventory_quantity). [1]: https://github.com/magnusvk/counter_culture https://github.com/magnusvk/counter_culture
- amk_ 10y agoThat looks useful, thanks