performance tuning


Writing Efficient Code
Clean and efficient code - A web page isn't just a picture. It is interactive and in order to be interactive, it uses code. When a developer writes code, it should be efficient. The principle of the fastest path to get from point a to point b is a straight line is also appropriate in the world of code.

Minimizing Requests
Reduced the number of downloads for each page. If you go to a website and there are many different pictures on the page, it is most common for each picture to be downloaded independently. Each download takes a certain amount of overhead. To reduce the number of downloads; pictures can be combined into a single download so there is only the overhead of one download.

Choosing the Right Host
Choosing the right host for your website - Think of it this way, every time you visit a website, there is a computer that processes the code and returns the website to your computer. Just like when you buy a computer for personal reasons, it should meet your needs. If you like to play games, you need a computer with a great graphics card. For servers, if your website is highly interactive, the server needs a fast processor. If it does not require so much interaction, you can save some money by going with something that will get the job done.

Minimize Processing Time
Caching pages - Rather than processing code every time a page is loaded, save the results and return the code. Think of it this way, if you have 1000 numbers on a piece of paper and you need to find their sum, you need to run through it and add it up one by one. At the end you have a final number and hopefully write it down so if someone asks you the total later on, you don't have to sum up all the numbers again. A web page is like a page of numbers that need to be summed up. There is a lot of code that is processed to create the page. Rather than processing the page every time it is visited, you just save the results and send them to the visitor of the site.

Although the analogies may be simple, actually doing it is not, which is why we are here. Contact us to see how we can make your website run more quickly.