Tag: website loading speed

  • How To Make WordPress Faster: 5 Simple Steps To Make It Under 2 Seconds

    How To Make WordPress Faster: 5 Simple Steps To Make It Under 2 Seconds

    Is your website taking more than 3 seconds to load? If you are reading this now, you are not happy with your website loading speed and you are constantly thinking “How to make WordPress faster” — and I get it.

    Using WordPress since 2004, I have my good and bad days using this CMS. For starters, WordPress is great by itself and it loads fast.

    What makes your WordPress doesn’t load that fast is because of technology and the competition itself. We are constantly adding new things into our blog and sites to beat the competitors, but this action is going to make our website loads super slow.

    Lucky for you, I’m going to outline some quick fixes to help you make your WordPress faster.

    • Choose the right web hosting company
    • Use only WordPress themes that are well-coded(and free from bloatware)
    • Uninstalled unwanted WordPress plugins
    • check-circle-oReduce the number of elements on a page
    • check-circle-oUse a Content Delivery Network (CDN)

    Now that we’ve covered the top 5 most important ways to make WordPress faster, let’s dive into the details!

    How To Make WordPress Faster? Choose A Better Web Hosting Company

    choosing the right web hosting company

    Web hosting is like the eletrical company for your home. It supplies electricity to power your website and if there is not enough power, your website will be affected dearly.

    A good web host should offer:

    • 99.9% uptime
    • Doesn’t allow spam (email)
    • Doesn’t allow abusive websites

    Does the above sounds familiar to you? I bet!

    Most web hosting companies offer the above on the front end but how many of them actually live up to those? Not many, seriously.

    That’s why I only recommend using web host that doesn’t oversell their servers.

    Note: Overselling server space is considered norm by many web hosting companies. They allocate thousands of websites into one server and often 500% the capacity of what the server could hold. Thus, affected server performance.

    Examples Of Great Web Hosting Companies

    How To Make WordPress Faster? Use WordPress Themes That Are Well Coded

    premium wordpress themes improve website speed

    There are many themes in the market and most of them are free. The single and biggest problem with free WordPress themes is because they are not well coded, no maintenance and codes may be outdated. Plus, there could be tons of codes within the theme that will slow your website down indefinitely.

    So, how to solve this?

    Choose the right WordPress theme for your blog. Be picky and more importantly, choose a WordPress theme that is developed by reputed WordPress developers.

    Examples Of Great WordPress Themes

    MUST READ: The Top 5 Best Premium WordPress Themes 2018

    How To Make WordPress Faster? Uninstall Unwanted Plugins

    uninstall unwanted WordPress plugin

    How many plugins do you have in your WordPress? Unless you are using WordPress hosting like WP Engine, you shouldn’t have more than 15 WordPress plugins installed.

    The more plugins you install = The slower your website loading speed

    QUestion: How do you solve this?

    Answer: Keep track of your plugins and install only the ones you need.

    Examples Of Crucial WordPress Plugins

    • Cache plugin (if you are using premium WordPress hosting like WP Engine and SiteGround, you don’t need any cache plugin)
    • Contact form
    • SEO plugin
    • check-circleDrag and drop content builder plugin (I highly recommend Thrive Architect)
    • check-circleEditorial calendar plugin

    How To Make WordPress Faster? Reduce The Number Of Elements On Pages

    reducing elements to speed up wordpress sites

    This is one of the easiest steps to make WordPress faster — make it a point to reduce the number of items on a page.

    If you have a drag and drop WordPress builder like Thrive Architect or Divi, you can have unlimited addons to a page. However, it doesn’t mean that you got ot go crazy with them.

    Instead, just make sure you install just items or elements you need on a page to ensure that the doesn’t take forever to load.

    How To Make WordPress Faster? Use A Content Delivery Network (CDN)

    content delivery network

    Want to speed up your WordPress website? Use a Content Delivery Network (or “CDN” in short). 

    Question: What is a Content Delivery Network?

    Answer: A content delivery network or content distribution network (CDN) is a geographically distributed network of proxy servers and their data centers. The goal is to distribute service spatially relative to end-users to provide high availability and high performance.

    Examples Of Content Delivery Network Services

    BONUS: How to speed up your website using CloudFlare page rules?

    Ready To Make WordPress Faster?

    I hope you find the above tips to quicken your WordPress site useful. 

    Have a special tip that works for you? Leave a comment and share with me!

  • Cloudflare vs Incapsula: Which Is The Best CDN Provider?

    Cloudflare vs Incapsula: Which Is The Best CDN Provider?

    Content Delivery Network is one of the most important tools when it comes to maintaining a website. CloudFlare and Incapsula are both very renown for their CDN services. Let’s discuss deeper on both CloudFlare vs Incapsula for the best CDN provider.

    As for the record, this review is done with some testings and cross referencing the results with other sources to ensure that you are getting the right information.

    Content Delivery Network (CDN) is important to ensure that the website is loading faster and security measures are taken.
    What makes both Cloudflare and Incapsula different? 

    Related read: 3 of the best Content Delivery Network providers for bloggers

    Introduction to Cloudflare and Incapsula in video form

    Cloudflare:

    http://www.youtube.com/watch?v=-yspfTsidzs&feature=youtu.be

     

    Incapsula:

     Here are what both can offer:

    1. Free Content Delivery Network (CDN) with servers across the globe
    2. Optimizer which helps increase website loading speed
    3. Security features for websites which includes firewall
    4. Analytics that give you an insight of how many attacks, bandwidth used etc
    5. Other free and paid productivity apps you can mix and match 

    So what makes them so different? How to choose the best free CDN for my website? 

    Security features

    If you would like to compare, both basically offers pretty good security features. If you would need to compare them neck to neck, Incapsula offers a better protection against all types of DDoS threats. Cloudflare does a pretty decent job when it comes to protections but it comes short if you are looking for a CDN which offers great defense against unwanted threats.

    Winner: Incapsula 

    Analytics and monitoring

    Both Cloudflare and Incapsula offer their users reports to show the progress of the CDN. The reports range cover much of the basic information such as bandwidth used, threat experienced by the site, the number of bots and even the number of unique visitors visiting the website. When compared, I would personally prefer Cloudflare’s report as it is more detailed and offers slightly more information that I required in just one glance. Basically, I give the winning score to Cloudflare as the layout is easier to see and users do not need to navigate any further to get additional information.

    Winner: Cloudflare 

    Optimizer anyone?

    When it comes to optimizing, Cloudflare seem to be able to optimize my sites better than Incapsula. Various tests were done after installing for 48 hours to give a fair detail of time. After running those tests, it is pretty clear that (if I would give a score of 10), I would give Cloudflare a score of 9 and Incapsula a score of 7.

    Winner: Cloudflare 

    Which offers a better page loading speed?

    I am pretty sure most of you guys are interested on this part generally. Cloudflare is definitely the winner here with a faster load of an average 0.5 seconds. As little as this seems, it is everything for many search engines and even high traffic sites. Cloudflare could have won this battle at this time of the writing because it has more servers around the world compared to Incapsula. At the moment, Cloudflare has 28 servers around the world and Incapsula has only 14 servers. This could be the main reason why sites using Cloudflare could load slightly faster than Incapsula.

    Winner: Cloudflare

    Related article: How To Configure CloudFlare Page Rules?

    My take in CloudFlare vs Incapsula For The Best CDN Provider

    Generally, Cloudflare seems to be working better out of the box compared to Incapsula. For a basic usage, Cloudflare really works well in terms of user-friendliness, moderate defense and very good loading speed for a free Content Delivery Network service.

    Why not you try them today and give me your feedback?

    For those using either one of them, which is your favorite one among both?

    *If you like this article, could you please share this for me using the red Google+ button below?


  • Serve Static Content From Cookieless Subdomain for CloudFlare (Updated 2018)

    Serve Static Content From Cookieless Subdomain for CloudFlare (Updated 2018)

    Interesting read: Money Brighter is one of the best LLC in Texas! If you are thinking of speeding up your website, Google might be telling you the answer is to create a cookieless subdomain or domain. Well, that’s easy for you to say. How to serve static content from a cookieless domain? More importantly, what is a cookieless subdomain?

    Instead, you can consider a cookieless subdomain is a term to describe data transferring from one point to another (in this case, data movement from subdomain to domain) has no cookies attached. Indirectly, this boost the loading speed of your domain.

    This is what Google explain in its own words:

    ​Why is serving static content over cookieless domain important?

    ​Static content, such as images, JS and CSS files, don’t need to be accompanied by cookies, as there is no user interaction with these resources. You can decrease request latency by serving static content from a domain that doesn’t serve cookies. This technique is especially useful for pages referencing large volumes of rarely cached static content, such as frequently changing image thumbnails, or infrequently accessed image archives. We recommend this technique for any page that serves more than 5 static resources. (For pages that serve fewer resources than this, it’s not worth the cost of setting up an extra domain.)

    ​​What does this means to you?

    All static contents or data that are transferred with the accompanied by cookies. Though cookies are not needed for any transaction and do not serve any advantage, they will automatically be available for all data transfer. The only way to avoid such is when static contents are obtained from a cookieless site.

    ​Static content + ​cookieless domain?

    ​Serving static content or resources from a cookieless domain reduces the total size of requests made for a page. It is also important to note that there is no point setting up static subdomain for this matter if you are using a powerful web host or having very less page.

    ​Now that we had gone through the relationship between cookieless subdomain and serving static content, let’s explore the right way to serve the following static resources from a domain that doesn’t set cookies.

    ​How to create a cookieless subdomain using CNAME?

    ​When it comes to creating a cookieless subdomain, using a CNAME could be the easiest way of all​ (at least for me). This step is extremely easy to follow and ​after configurations, you can start serving static resources from a domain that doesn’t set cookies.

    • ​Go to your cPanel (most shared web hosting offers this)
    • ​Create a subdomain (any name would do, e.g. static.domain.com)

    ​This subdomain will serve as a CDN subdomain which is the key criteria to enable the process of serving static content from cookieless domain.

    Selecting the right installation path for the subdomain

    In order to create a proper cookieless subdomain, you have to ensure that when you are creating your subdomain, make sure it is pointing to your root directory instead of creating a secondary one. For example, my root directory is /public_html and thus, it should be pointed or directed to /public_html and not the default, /public_html/static.

    How to create a subdomain?
    This is what you see when you are pointing to subdomain to the right path 

    Editing the DNS Zone

    Once you have done pointing the subdomain, head over to your DNS Zone Editor. At times, these might be labeled as Simple or Advanced DNS Zone Editor for several types of cPanel but they are all alike.

    How do you create a subdomain for serving static content?
    Pointing subdomain to the right domain 

    You would need to either create or modify the Name to your subdomain name and CNAME as your main domain. Of course, for the Type, you would need to select CNAME. You may start this by hitting the create button and if there is already a record, you just need to modify the settings to the above.

    Still not sure? Let me explain to you, in other words. When you create the CNAME record you want to enter your static domain/subdomain as the label, name or an alias and your A record domain as the content or value. (The CNAME term, which stands for Canonical Name, actually refers to the domain you are mapping to, not the alias.  The common practice of referring to the alias as the CNAME is in fact backwards.) 

    Making sure the subdomain is cookieless

    I could not emphasize how important this is but you must not skip this step no matter what. In WordPress, there are two common cookie-setters which are WordPress and Google Analytics. All you need is to do little changes in the configurations and you would be well on your way to a cookieless subdomain.

    For WordPress, head over to your wp-config by login into your cPanel. Open it up and add this line to the file. If you are wondering where exactly you may place this file, you can place it at the bottom most of the script.

    define(‘COOKIE_DOMAIN’, ‘www.yourdomain.com’);

    This is definitely a no-brainer but just to make sure, do remember to change your domain to your own domain name. After that, save the file and you are good to go!

    For Google Analytics, all you need to do is to search for the specific code you had earlier placed in on your site and replace the code with the below one. For a quick tip, most Google Analytics code is kept close to the <body>.

    _gaq.push( [‘_setAccount’, ‘UA-xxxxxxx-1’], [‘_setDomainName’, ‘www.yourdomain.com’], [‘_trackPageview’] );

    Again, change your domain as seen above to your own domain URL and save the file.

    Important note: If you are using cloudflare or any type of Content Network Delivery (CDN), please get your hosting and CDN provider to verify on the CNAME. For example, using Cloudflare will give you an error when you are following the above guide in changing the CNAME. Basically, the hosting or CDN provider will give you a new A figure to place in. 

    You are all done!

    Now, treat yourself to a bottle of beer for the hard work and congratulations. You had managed to create a cookieless subdomain from scratch. This is one of the cheapest (and fastest) way to create a cookieless subdomain when it comes to serving static content to improve your website speed.