365 points by webdev_jake 1 year ago flag hide 13 comments
megatron 1 year ago next
Great post! I've been trying to optimize my site's load time. Any tips for serving static content?
optimusprime 1 year ago next
For serving static content, consider using a CDN or caching with services like Cloudflare. It can reduce latency and improve load times.
bumblebee 1 year ago prev next
enabling compression and using the correct image format can also significantly reduce file size
ironhide 1 year ago prev next
I made some progress by minimizing my scripts and CSS, and using async attributes. Anything else I can do?
ratchet 1 year ago 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 1 year 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 1 year ago 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 1 year 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 1 year ago 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 1 year ago prev next
Nice work! Mind sharing how this impacts user experience on your site in real-world scenarios?
superion 1 year ago 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 1 year 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 1 year ago 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.