Earn free bitcoin

Saturday, 4 October 2014

Speed Up your Site with Google Hosted Libraries is as CDN

Free Cloud Hosted Libraries-

Google Hosted Libararies

Google Hosted Libraries is a content distribution network (CDN) for the most popular, open-source JavaScript libraries such as – Mootools, Prototype, Dojo and especially heaviest one JQuery.
To add a library to your site, simply use <script> tags to include the library, such as to load jQuery, one has put the script tag snippet in your web page with file URL that of Google CDN, see examples you will than share bandwidth with Google CDN which in turn saves some amount of server’s bandwidth along with parallel download advantage.

CachedCommons

This one is GitHub based CDN host and one of the huge hosted CDN infrastructure with a vast collection of user-contributed javascript libraries, CSS files, Flash, flex files etc. with around 148 such libraries that have been cached, optimized, and hosted on Github’s fast CDN. Moreover, if any library is missing from this collection, than you post a request on Github and they will add it immediately.

Microsoft Ajax CDN

The Microsoft Ajax Content Delivery Network (CDN) hosts popular third-party JavaScript libraries such as jQuery and enables you to easily add them to your Web applications. Using this CDN hosted libraries is similar to that of Google using script tag. The contents of the CDN are cached on servers located around the world. In addition, the CDN enables browsers to reuse cached third party JavaScript files for web sites that are located in different domains.
Microsoft Ajax CDN also ASP.NET Ajax and ASP.NET MVC JavaScript Files, which make very useful or .NET based web apps.

JSDelivr

jsDelivr is a free public CDN that hosts javascript libraries and jQuery plugins, including all of the files they need to work  like css or png. It even hosts javascript files that use popular WordPress plugins, like WP SlimStat. Basically if a lot of websites use it then we probably can host it.
jsDeliver is a web service for webmasters and developers. Almost none of the plugin developers allows direct linking to hosted versions of their plugins on their server because they can’t handle such traffic. So the users always have to download the plugins and host them on their own servers.
For WordPress users, it has JSdelivr CDN Plugin that allows to easily integrate and use the services of jsDelivr in WordPress based website.

CDNJS 

Unlike to other hosted libraries that of Google or Microsoft, they only host the most popular libraries whereas CDNJS host the other stuff too with over 145 libraries wich is almost 15 times of  libraries hosted at Google. CDNJS is CloudFlare powered hosted libraries CDN infrastructre.

Free Cloud based hosting for ‘WordPress’ -

DropBox as CDN

Dropbox, a well-known cloud based file sharing/storage network can also be used as cloud based CDN for WordPress based websites upto 2GB space as free service via a plugin. The plugin for WordPress available at Dropbox CDN Plugin page, which helps in reducing the bandwidth of your server and allowing users to load your site faster.  The plugin allows you to upload your images, stylesheets, scripts into your Dropbox public folder and serve these files from the Dropbox network.

Easy imgur.com Post Images

This WordPress plugin lets you host your images only, on imgur.com. One can add an image via the WordPress post media manager, and it will upload the image to the popular image host imgur.com and let you insert the image into your post with a thumbnail or without. It does not allow you host any thing other than just images.

Know how Content delivery network (CDN) reduce your server resources

Content Delivery Network (CDN)

Every website owner wants to have faster loading web pages and lighting fast content load for better user experience as well as for better positioning in Google search results. As a matter of fact 80-90% of the end-user response time is spent downloading all the static components in web pages such as – images, CSS files, scripts etc. and one can cut this time effectively to cut waiting time of end-users .

For solution of this, CDN come in to the picture as they serve these static content to end-users with high availability and high performance as these CDN is actually a large distributed system of servers deployed in multiple data centers over the Internet.CDN servers offer the simplest way to a safer, faster, and smarter website. One can easily increase performance and security for their website using CDN. 
 However, when it comes to those website owners, bloggers who can’t afford to have CDN services, well than, not all CDN services come with price tag. There are some CDN’s which requires only 5 minutes of your configuration setup and you are done with optimizing your website by reducing considerable amount of webpage loading time. Here are few CDN services which are free to be used without any cost of even a single penny.

CloudFlare

10 Best Free CDN Services to Speed Up Your Website
This one is my favourite, as it has no unconditional or deceptive offers who after 15 or 30 days wanted to charge for their services. You just have to give them your website URL and rest will be done by CloudFlare except that you have to change your DNS nameserver entries and you are done.
One of the best thing about free CloudFlare service is that it offer you added optimization services such minified CSS, JS and HTML, gzipping the components, E-tags headersand other performance settings without any extra cost and absolutely free.
The WordPress also offers CloudFlare WordPress Plugin that ensures your WordPress blog is running optimally on the CloudFlare platform and better protection as spammers from your WordPress blog get reported to CloudFlare.

CoralCDN -

10 Best Free CDN Services to Speed Up Your Website
CoralCDN is a free and open content distribution network based around peer-to-peer technologies, composed of a world-wide network of web proxies and nameservers.
Usage of CoralCDN is simple, similar to previous services, you just append .nyud.net to the hostname of any URL, and your request for that URL is handled by CoralCD. For example – append.nyud.net to example.com like – example.com.nyud.net, afterwards a peer-to-peer DNS layer transparently redirects browsers to participating caching proxies, which in turn coƶperate to reduce load on the source web serve.

Incapsula

10 Best Free CDN Services to Speed Up Your Website
Being a commercial CDN service provider Incapsula also provide free CDN services of 50 GB/month to their users, although its 30 days trial service, after 30 days they will ask you to upgrade account, what you have to do is to ignore this notice, then you can use it for free forever with some limited features however.

Optimize WordPress Website for Less CPU Consumption Using These Simple Tips


WordPress is the most popular CMS on the web and very easy to use with a great eco system of pluggins. How to reduce your WordPress CPU load without upgrading your web hosting server?  Website performance will also influence your rankings in search engines. In addition to being ranked higher, many website owners report seeing an increase in search engine spider crawling after speeding up their design. CPU related errors are quite common for those using wordpress on a shared host. Most webmasters complain that their web host account has been suspended due to excessive CPU usage. This can happen even if your site isn’t receiveing unusually high traffic, which most people find very confusing. Here are some method I used to reduce my WordPress CPU load and bandwidth without upgrading to a much more expensive server.
CPU usage usually depends on the amount of request that your server receives. Besides, it may also depend on the number of people accessing your site/blog at the same time. Whatever the reason may be; your objective is to reduce CPU usage.

Following are the top tips to keep your CPU usage minimal:

#1.Monitor Your Plugins

When it comes to WordPress, plugins consume maximum resource. Moreover, with time, several plugins come unresponsive. Certain plugins are known for causing websites to be slow. There are many reasons for this including bad coding, calls to external servers and persistent calls and updating of your WordPress database. Pay close attention to how much CPU plugins use too. Many plugins can bottleneck your CPU due to persistent processes. If this happens, your whole server could go down.  Using too many plugins overloads the server. Avoid using poorly coded plugins and deactivate the unnecessary ones.There are many plugins available but the best ones would be :
P3 Profiler

#2. Update to the Latest version plug-ins

Updating plugins is not a cakewalk. The update process may bring along a number of bugs, particularly if you have up have upgraded to the advanced wordpress version but have forgot to keep pace with new developments. However, ensure to check the plug-in discussion groups as well as forums to ensure that it’s fine to update. Updates often pop-up on your screen however, read the pop-up message carefully before clicking the update version.

#3. Routine Database Tables Optimization

To keep things running smoothly, you need to log onto PhpMyAdmin on a routine bases and optimize the database tables. Unoptimized data tables can overload the server. More over, the CPU usage is also more for reading unoptimized data tables. Besides data table optimization, you can also delete spam/unapproved data.

#4. Use a Fast WordPress Theme

A design that has been coded badly, or uses images throughout the design, will add unnecessary weight to your page. It is not uncommon for some WordPress themes to be a few megabytes in size. This is because in most of the cases bloggers tend to use Magazine Styled themes which have a lot of effects and images displayed increasing the server load. The more stylish themes you choose, the more loaded the CPU is. Simpler or optimized themes work better and don’t consume much resource. Some themes may come with plugins; in that case you should update the plugins as well. Prefer using a light them that has fewer queries.There are many plugins available but the best ones would be :
Unfortunately, most theme developers optimize their theme demo website using caching and content delivery networks.

#5. WordPress Upgradating and Caching

Are you still laid behind with the older WordPress version? Well, if that is so then it is high time you upgrade to an advanced and latest version. Most of us ignore the idea of upgrading wordpress just because it works perfectly. An upgradation helps because the newer versions are better in terms of security and optimization.
You may also install wordpress caching program. Caching archives each web page on your site. This lowers server load as it doesn’t require sending multiple queries to the database for generating multiple pages.There are many plugins available but the best ones would be :
W3 Total Cache

Both of the above suggested WordPress plugins work great and are having almost similar functions which also support very huge traffic spike and give a static page to the readers when the server load is very high. You need to ensure that the Page Cache is Enabled, Page Cache Method = Disk (Enhanced)
and Database Cache is also Enabled. Once this is done you can find that the blog posts loading speed is also decreased and the CPU Consumption is also reduced.

#6. Reduce widgets

There may be certain widgets that aren’t essential. Check them thoroughly and remove the ones that may not be beneficial for the readers. The more widgets you use the more strain you are enforcing on the server. Hence, to lower server load and CPU usage, get rid of unwanted widgets.

#7. Using CloudFlare CDN

CloudFlare is a free blog optimization service which can also be considered as a basic CDN service. Don’t expect too much from their CDN as it accelerates your blog without any bucks. However, you can significantly improve your page loading speed and CPU load.
It works as an intermediate between the blog and the server. Whenever user requests a page, CloudFlare provides the page without letting the blog from accessing the server contact. It automatically catches your pages from the server side and stores in its own large data servers.Check more detailsover   CloudFlare

#8. Lower load on index.php file

At peak hours, your homepage may create a load on your server during the peak hours. To lower this load, ensure keeping your homepage simple. Try to lower the number of posts on your homepage and remove unwanted files, links and high resolution images. It would be even better if you choose a CDN service like CloudFlare

#9 Disable WP-Cron

Disable WP-Cron or change to a scheduled task to run every hour. This will greatly reduce your CPU usage. WP-Cron manages all your scheduled events so it is continuaally active on many sites when it isn’t necesssary.

#10 Avoid plugins that use excessive CPU load.

These are often backup and security pluggins. These functions are best being offered by a quality host provider that has integrated solutions.

Overview

Optimizing your website is no longer an option. With search engines placing so much importance on the speed of web pages, it is vital to your website’s success to have fast loading web pages.
A lot of people wrongly assume that you need to be an expert to optimize a WordPress website. Nothing could be further from the truth. 99% of optimizing your website correctly is following good practices and taking advantage of caching and content delivery networks.
I hope you have enjoyed this tutorial on optimization. Like to know how your way to optimizing in comments.
Earn free bitcoin