How do you optimize the loading time of your web application as a Web Developer?

Hi William and welcome to DaniWeb!

Ah, loading time. With Google really pushing Core Web Vitals (aka site performance) a growing part of their algorithm nowadays, not to mention how site speed is directly related to user satisfaction and conversion rates, site speed is more and more important.

The low hanging fruit from the server end (eg what translates to quick server response times) is making sure you are on a decent web host, and making sure you have proper MySQL indexes set up. (Either of these are only an issue if you notice your server responding incredibly, incredibly slowly to any page request.)

In terms of web browser performance, if you’re using WordPress, it’s going to all come down to what theme you’re using. You want to make sure you’re using an optimized theme that doesn’t use a lot of javascript plugins. Unfortunately, 99.9% of WordPress themes tend to be created by designers who focus more on parallax animations and javascript widgets than on actually having a well optimized site.

If you’re not using a pre-existing theme but rather coding your site from scratch, the same general rules hold true: limit the number of javascript plugins you’re using, and perhaps use a CDN such as Cloudflare (they have a free option) to cache your images, javascript files, and CSS in the cloud, for super fast downloading by your users.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.