5 best practices to speed your site up

Google will decrease your SEO rank if your site loads slow or drop by user because of waiting too long.

So, whatever we do, just make it load as fast as possible.

Those tricks are the most common best practices to speed your site up.

Minify your CSS/JS/HTML

To make your site’s size smaller, as I talk in the previous post, the easiest and fastest way is to use loitools.com’s CSS Minifier, JS Minifier and HTML Minifier.

It’s safe, lighting fast and easy to see the difference way.

Enable Gzip on your server side

Using Nginx or Apache, you should enable GZip compression on your server side to reduce files’ size transferred between server and browsers.

Remember, don’t use GZip on image files, instead, using Paint.net or Photoshop to reduce image files.

Reduce Redirect

What ever you do, just remove unnecessary redirect in your domain or server configuration.

Leverage the browser’s cache

Browser’s cache means reduce load js/css/images second time if already loaded in the first time.

Client’s browsers will cache all those media files hence your site will load faster.

Enable server cache

You can use Varnish Cache or Nginx FastCGI Cache to store visited sites and response to users next time.

This way require a lot of additional configuration at server side but it really reduces site loading time hence the server doesn’t need to connect to the database anymore.