Most people don’t tend to look into blog performance until speed issues or outright downtime becomes apparent. Increased search rankings (yielding more traffic), a popular social share or a feature from a popular third party site can all highlight glaring issues with your blogs performance once it becomes inundated with traffic and grinds to a halt.
This is obviously something you want to avoid. No blog should want to waste traffic. No blogger wants to lose their readership because of performance issues and you certainly don’t want to lose those grafted out search rankings because of a slow site load time.
Fortunately, help is at hand and there are numerous ways you can optimise the performance of your blog. You also don’t need to wait for a traffic influx before addressing the points below. A fast loading site should be a priority for all, regardless of traffic levels. So let’s take a look.
If you’re running Wordpress you can find plugins that pretty much do everything I’m outlining in this document. Although with that said you’d be wise to run through the list anyway so you can see what everything does and how it works. Otherwise the options within the plugins will look a bit alien to you. W3 Total Cache is my plugin of choice for all things blog speed related. As the name suggests it offers caching functionality but also comes with lots of other features such as Minifying and CDN support. There are other plugins out there too so either choose a complete package like W3TC or research your own plugins to handle the tasks I’ll discuss below.
There are lots of plugins out there and even web based tools where you can paste your CSS and JS code into in order to Minify it. I’m not expecting you to manually go through the files and strip out the whitespace yourself :)
When it comes to slow loading websites, images are usually to blame. With the advent of faster internet connections, people seldom bother checking the filesize of the image they want to use for their featured image on their latest post. They just choose a nice looking high res one and up it goes. This is a mistake, especially if your blog layout is loading lots of them on its homepage.
There are plugins out there (and web based tools) that will compress your image for you on the fly or you can consciously make sure you lower the size/quality of the image before you upload. This will ensure that your blog stays fast. Or simply utilise thumbnails on your homepage instead of large splash/carousel style imagery.
CDN’s (content delivery networks) can be a huge help if your current web server is struggling to serve all your content. You can make use of public CDN’s to call common libraries from third party servers such as jQuery or Bootstrap. Or you can setup your own account on a given CDN and have it remotely host your content such as all images etc.
Most CDN’s are completely customisable so you can serve as little or as much data as you like whilst freeing up your own web server to handle/serve your core content.
Page caching is a great way to speed up your blog. Particularly if you have a lot of common elements across the various pages of your site such as large header and footer areas with consistent content.
Caching isn’t really something you can do yourself manually but there are lots of plugins out there which will take a copy of your dynamic page and pretty much serve it as a static page with periodic refreshes. This makes your site load much quicker for the user as it is literally downloading and displaying a flat HTML file rather than running scripts with lots of database calls etc.
Combining files is another feature of the various “site speed” plugins out there and is a quick and easy way to decrease page load time.
If you’re a Wordpress user with significant traffic you’ll know of the potential speed and performance issues only too well. Even if you’re running a lightweight theme, with anything more than a few hundred hits a day you’re going to have issues.
In this case, I’d start with the plugins 9 times out of 10. They pretty much combine most of the methods I’ve documented and can all be setup and installed with a couple of clicks. However, I can appreciate not everyone uses Wordpress and some of you may want to perform each task manually. That of course is your prerogative and some would argue the best way to speed up Wordpress is not to install more plugins! But the decision ultimately, is yours.
Truth be told, it’s difficult for a web application that doesn’t have some kind of identification, even if you don’t see it as a security measure in and of itself. The Internet is a kind of lawless land, and even on free services like Google’s, authentication ensures that abuses will...
Although data persistence is almost always a fundamental element of applications, Node.js has no native integration with databases. Everything is delegated to third-party libraries to be included manually, in addition to the standard APIs. Although MongoDB and other non-relational databases are the most common choice with Node because if you...