Affichage des articles dont le libellé est Performance. Afficher tous les articles
Affichage des articles dont le libellé est Performance. Afficher tous les articles

samedi 12 novembre 2016

18 Useful Tricks To Speed Up WordPress & Boost Performance



Do you want to speed up your WordPress site? Fast loading pages improve user experience, increase your pageviews, and help with your WordPress SEO. In this article, we will share the most useful WordPress speed optimization tips to boost WordPress performance and speed up your website.


Speed up WordPress - Ultimate Guide


Unlike other “X best WordPress caching plugin” lists or generic “X tips to speeding up WordPress” tutorials, this article is a comprehensive guide to WordPress performance optimization.


We include everything from why speed is important, what slows down your WordPress site to actionable steps that you can take to improve your WordPress speed immediately.


To make it easy, we have created a table of contents to help you navigate through our ultimate guide to speeding up your WordPress site.


Table of Contents


Basics of WordPress Performance



Speeding Up WordPress in Easy Steps (No Coding)



WordPress Performance Optimization Best Practices



Fine-Tuning WordPress for Speed (Advanced)



Why Speed is Important for Your WordPress Site?


Studies show that from 2000 to 2016, the average human attention span has dropped from 12 seconds to 7 seconds.


What does this mean for you as a website owner?


You have very little time to show users your content and convince them to stay on your website.


A slow website means users will potentially leave your website before it even loads.


According to a StrangeLoop case study that involved Amazon, Google, and other larger sites, a 1 second delay in page load time can lead to 7% loss in conversions, 11% fewer page views, and 16% decrease in customer satisfaction.


How slow websites cost you money


On top of that, Google and other search engines have already started penalizing slower websites by pushing them down in the search results which means lower traffic for slow websites.


To sum it all up, if you want more traffic, subscribers, and revenue from your website, then you must make your WordPress website FAST!


How to Check Your WordPress Website Speed?


Often beginners think that their website is OK just because it doesn’t feel slow on their computer. That’s a HUGE mistake.


Since you frequently visit your own website, modern browsers like Chrome store your website in cache and automatically prefetch it as soon as you start typing an address. This makes your website load almost instantly.


However, a normal user who is visiting your website for the first time may not have the same experience.


In fact, users in different geographical locations will have a completely different experience.


This is why we recommend that you test your website speed using a tool like Pingdom.


It is a free online tool that allows you to test your website’s speed from different locations.


Pingdom site speed tool


After you run your website speed test, you might be wondering what’s a good website speed that I should aim for?


A good page load time is under 2 seconds.


However, the faster you can make it, the better it is. A few milliseconds of improvements here and there can add up to shaving off half or even a full second from your load time.


[Back to Top ↑]


What Slows Down Your WordPress Website?


Your speed test report will likely have multiple recommendations for improvement. However most of that is technical jargon which is hard for beginners to understand.


However understanding what slows down your website is key to improving performance and making smarter long-term decisions.


The primary causes for a slow WordPress website are:



  • Web Hosting – When your web hosting server is not properly configured it can hurt your website speed.

  • WordPress Configuration – If your WordPress site is not serving cached pages, then it will overload your server thus causing your website to be slow or crash entirely.

  • Page Size – Mainly images that aren’t optimized for web.

  • Bad Plugins – If you’re using a poorly coded plugin, then it can significantly slow down your website.

  • External scripts – External scripts such as ads, font loaders, etc can also have a huge impact on your website performance.


Now that you know what slows down your WordPress website, let’s take a look at how to speed up your WordPress website.


Importance of Good WordPress Hosting


Your WordPress hosting service plays an important role in website performance. A good shared hosting provider like BlueHost or Siteground take the extra measures to optimize your website for performance.


However, on shared hosting you share the server resources with many other customers. This means that if your neighboring site gets a lot of traffic, then it can impact the entire server performance which in turn will slow down your website.


On the other hand, using a managed WordPress hosting service give you the most optimized server configurations to run WordPress. Managed WordPress hosting companies also offer automatic backups, automatic WordPress updates, and more advanced security configurations to protect your website.


We recommend WPEngine as our preferred managed WordPress hosting provider. They’re also the most popular one in the industry. (See our special WPEngine coupon).


For enterprise WordPress hosting, we recommend using Pagely because they’re the best in business.


[Back to Top ↑]


Speeding Up WordPress in Easy Steps (No Coding)


We know that making changes to your website configuration can be a terrifying thought for beginners, especially if you’re not a tech-geek.


But don’t worry, you’re not alone. We have helped thousands of WordPress users improve their WordPress performance.


We will show you how you can speed up your WordPress site with just a few clicks (no coding required).


If you can point-and-click, you can do this!


Install a WordPress Caching Plugin


WordPress pages are “dynamic.” This means they’re built on the fly every time someone visits a post or page on your website. To build your pages, WordPress has to run a process to find the required information, put it all together, and then display it to your user.


This process involves a lot of steps, and it can really slow down your website when you have multiple people visiting your site at once.


That’s why we recommend every WordPress site use a caching plugin. Caching can make your WordPress site anywhere from 2x to 5x faster.


Here’s how it works: Instead of going through the whole page generation process every time, your caching plugin makes a copy of the page after the first load, and then serves that cached version to every subsequent user.


How caching works


As you can see in the graphics above, when a user visits your WordPress site, which is built using PHP, your server retrieves information from a MySQL database and your PHP files, and then it’s all put together into a HTML content which is served served to the user. It’s a long process, but you can skip a lot of it when you use caching instead.


There are a lot of caching plugins available for WordPress, but we recommend using the WP Super Cache plugin. Check out our step by step guide on how to install and setup WP Super Cache on your WordPress site. It’s not difficult to set up, and your visitors will notice the difference.


Note: If you’re using a managed WordPress hosting provider, then you don’t need a caching plugin because they take care of it for you.


[Back to Top ↑]


Optimize Images for Speed


Optimize images for the web


Images bring life to your content and help boost engagement. Researchers have found that using colored visuals makes people 80% more likely to read your content.


But if your images aren’t optimized, they could be hurting more than helping. In fact, non-optimized images are one of the most common speed issues we see on beginner websites.


Before you upload a photo directly from your phone or camera, we recommend that you use photo editing software to optimize your images for web.


In their original formats, these photos can have huge file sizes. But based on the image file format and the compression you choose in your editing software, you can decrease your image size by up to 5x.


At WPBeginner, we only use two image formats: JPEG and PNG.


Now you might be wondering: what’s the difference?


Well, PNG image format is uncompressed. When you compress an image it loses some information, so an uncompressed image will be higher quality with more detail. The downside is that it’s a larger file size, so it takes longer to load.


JPEG, on the other hand, is a compressed file format which slightly reduces image quality, but it’s significantly smaller in size.


So how do we decide which image format to choose?



  • If our photo or image has a lot of different colors, then we use JPEG.

  • If it’s a simpler image or we need a transparent image, then we use PNG.


The majority of our images are JPEGs.


Below is a comparison chart of the file sizes and different compression tool that we could have used for the StrangeLoop image used above.


Image Speed Chart


As you can see in the chart, the image format you use can make a HUGE difference on your website performance.


For details on exactly how to optimize your images using Photoshop and other popular editing tools, without sacrificing quality, see our step by step guide on how to save images optimized for web.


[Back to Top ↑]


WordPress Performance Optimization Best Practices


After installing a caching plugin and optimizing your images, you’ll notice your site will start loading a lot faster.


But if you really want to keep your website as fast as possible, you’ll need to use the best practices listed below.


These tips aren’t too technical, so you don’t need to know any code to implement them. But using them will prevent common problems that will slow down your website.


Keep Your WordPress Site Updated


Keep your WordPress site up to date


As a well maintained open source project, WordPress is updated frequently. Each update will not only offer new features, but also fix security issues and bugs. Your WordPress theme and plugins may have regular updates, too.


As a website owner, it’s your responsibility to keep your WordPress site, theme, and plugins updated to the latest versions. Not doing so may make your site slow and unreliable, and make you vulnerable to security threats.


For more details on the importance of updates, see our article on why you should always use the latest WordPress version.


[Back to Top ↑]


Use Excerpts on Homepage and Archives


Using excerpts


By default, WordPress displays the full content of each article on your homepage and archives. This means your homepage, categories, tags, and other archive pages will all load slower.


Another disadvantage of showing full articles on these pages is that users don’t feel the need to visit the actual article. This can reduces your pageviews, and the time your users spend on your site.


In order to speed up your loading times for archive pages, you can set your site to display excerpts instead of the full content.


You can navigate to Settings » Reading and select “For each article in a feed, show: Summary” instead of “Full Text.”


Display excerpts instead of full text to boost WordPress speed


For more details on the pros and cons of displaying summaries, see our article on full post vs summary (excerpt) in your WordPress archive pages.


[Back to Top ↑]


Split Comments into Pages


Paginated comments


Getting lots of comments on your blog posts? Congratulations! That’s a great indicator of an engaged audience.


But the downside is, loading all those comments can impact your site’s speed.


WordPress comes with a built-in solution for that. Simply go to Settings » Discussion and check the box next to the “Break comments into pages” option.


Break comments into pages in WordPress


For more detailed instructions, see our guide on how to paginate comments in WordPress.


[Back to Top ↑]


Use a Content Delivery Network (CDN)


Remember how we mentioned above that users in different geographical locations may experience different loading times on your site?


That’s because the location of your web hosting servers can have an impact on your site speed. For example, let’s say your web hosting company has its servers in the United States. A visitor who’s also in the United States will generally see faster loading times than a visitor in India.


Using a CDN, or Content Delivery Network, can help to speed up loading times for all of your visitors.


A CDN is a network made up of servers all around the world. Each server will store “static” files used to make up your website. Static files are unchanging files such as images, CSS, and JavaScript, unlike your WordPress pages which are “dynamic” as explained above.


When you use a CDN, every time a user visits your website they are served those static files from whichever server is closest to them. Your own web hosting server will also be faster since the CDN is doing a lot of the work.


You can see how it works in this infographic.


What is a CDN


We use MaxCDN on all our projects, including here on WPBeginner. It works well with WordPress websites and complements your existing WordPress caching plugins for even faster loading times. See our guide on how to install and setup WordPress CDN solution MaxCDN to get started.


[Back to Top ↑]


Don’t Upload Videos Directly to WordPress


YouTube


You can directly upload videos to your WordPress site, and it will automatically display them in an HTML5 player…


But you should NEVER do that!


Hosting videos will cost you bandwidth. You could be charged overage fees by your web hosting company, or they may even shut down your site altogether, even if your plan includes “unlimited” bandwidth.


Hosting videos also increases your backup sizes tremendously, and makes it difficult for you to restore WordPress from backup.


Instead, you should use a video hosting service like YouTube, Vimeo, DailyMotion, etc., and let them take care of the hard work. They have the bandwidth for it!


WordPress has a built-in video embed feature, so you can copy and paste your video’s URL directly into your post and it will embed automatically.


Find out more details on how it works in our guide on embedding videos in WordPress.


[Back to Top ↑]


Use a Theme Optimized For Speed


Choosing a theme optimized for speed


When selecting a WordPress theme for your website, it’s important to pay special attention to speed optimization. Some beautiful and impressive-looking themes are actually poorly coded and can slow your site way down.


It’s usually better to go with a simpler theme and use quality plugins to get the features you need, than to choose a theme that’s bloated with complex layouts, flashy animations, and other unnecessary features.


Premium WordPress theme shops like StudioPress, Themify, and Array Themes offer themes that are well coded and optimized for speed. You can also check out our article on selecting the perfect WordPress theme for advice on what to look for.


Before you activate your new theme, see our guide on how to properly switch your WordPress theme for a smooth transition.


[Back to Top ↑]


Use a Faster Slider Plugin


Faster slider


Sliders are another common web design element that can make your website slow.


Even if your images are all optimized as described above, a poorly coded slider plugin will mean all your work is wasted.


We compared the best WordPress slider plugins for performance and features, and Soliloquy was the fastest by far.


Here’s how it compares to other popular slider plugins.











































Slider PluginPage Load timeRequestsPage size
Soliloquy1.34 secs26945 KB
Nivo Slider2.12 secs291 MB
Meteor2.32 secs271.2 MB
Revolution Slider2.25 secs291 MB
LayerSlider2.12 secs30975 KB

[Back to Top ↑]


Use a Faster Gallery Plugin


If you have a photography website or a portfolio, then you’ll probably want to use an image gallery plugin to display your photos.


It’s really important that you use a WordPress gallery plugin that is optimized for speed.


We recommend using Envira Gallery, which is the best WordPress gallery plugin in the market. It allows you to create beautiful image galleries that are lightning fast to load.


We tested its speed compared to a couple of other popular gallery plugins, and found that Envira Galley is almost twice as fast:































Gallery PluginPage Load timeRequestsPage size
Envira Gallery1.08 secs241MB
Foo Gallery1.89 secs23357.1KB
NextGEN1.88 secs33518KB

[Back to Top ↑]


Fine-Tuning WordPress for Speed (Advanced)


By using the WordPress optimization best practices and basic speed tips listed above, you should see a big improvement in your site’s loading times.


But every fraction of a second counts. If you want to get the very fastest speed possible, you’ll need to make a few more changes.


The following tips are a little more technical, with some requiring you to modify your site files or have a basic understanding of PHP. You’ll want to make sure to backup your site first just in case.


Split Long Posts into Pages


Split long posts into pages


Readers tend to love blog posts that are longer and more in-depth. Longer posts even tend to rank higher in search engines.


But if you’re publishing long form articles with lots of images, it could be hurting your loading times.


Instead, consider splitting up your longer posts into multiple pages.


WordPress comes with built-in functionality to do that. Simply add the <!––nextpage––> tag in your article where you want to split it into next page. Do that again if you want to split the article on to the next page as well.


For more detailed instructions, see our tutorial on post pagination – how to split WordPress posts into multiple pages.


[Back to Top ↑]


Reduce External HTTP Requests


Cross domain http requests


Many WordPress plugins and themes load all kinds of files from other websites. These files can include scripts, stylesheets, and images from external resources like Google, Facebook, analytics services, and so on.


It’s ok to use a few of these. Many of these files are optimized to load as quickly as possible, so it’s faster than hosting them on your own website.


But if your plugins are making a lot of these requests, then it could slow down your website significantly.


You can reduce all these external HTTP requests by disabling scripts and styles or merging them into one file. Here’s a tutorial on how to disable your plugins’ CSS files and JavaScript.


[Back to Top ↑]


Reduce Database Calls


WordPress database calls


Note: This step is a little more technical and will require basic knowledge of PHP and WordPress template files.


Unfortunately, there are a lot of poorly coded WordPress themes out there. They ignore WordPress standard practices and end up making direct database calls, or too many unnecessary requests to the database. This can really slow down your server by giving it too much work to do.


Even well-coded themes can have code that makes database calls just to get your blog’s basic information.


In this example, every time you see <?php, that’s the start of a new database call:



<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php language_attributes(); ?>">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>
charset=<?php bloginfo('charset'); ?>" />

You can’t blame theme developers for that. They simply have no other way to find out what language your site is in.


But if you are customizing your site using a child theme, then you can replace these database calls with your specific information in order to reduce all those database calls.



<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Review your parent theme for instances like this that can be easily replaced with static information.


[Back to Top ↑]


Optimize WordPress Database


WordPress database optimization


After using WordPress for a while, your database will have lots of information that you probably don’t need any more. For improved performance, you can optimize your database to get rid of all that unnecessary information.


This can be easily managed with the WP-Sweep plugin. It allows you to clean your WordPress database by deleting things like trashed posts, revisions, unused tags, etc. It will also optimize your database’s structure with just a click.


See our guide on how to optimize and clean up your WordPress database for improved performance.


[Back to Top ↑]


Limit Post Revisions


Revisions in WordPress


Post revisions take up space in your WordPress database. Some users believe that revisions can also affect some database queries run by plugins. If the plugin doesn’t specifically exclude post revisions, it might slow down your site by searching through them unnecessarily.


You can easily limit the number of revisions WordPress keeps for each article. Simply add this line of code to your wp-config.php file.


define( 'WP_POST_REVISIONS', 4 );

This code will limit WordPress to only save your last 4 revisions of each post or page, and discard older revisions automatically.


[Back to Top ↑]


Disable Hotlinking and Leaching of Your Content


Prevent image theft in WordPress


If you’re creating quality content on your WordPress site, then the sad truth is that it’ll probably get stolen sooner or later.


One way this happens is when other websites serve your images directly from their URLs on your website, instead of uploading them to their own servers. In effect, they’re stealing your web hosting bandwidth, and you don’t get any traffic to show for it.


Simply add this code to your .htaccess file to block hotlinking of images from your WordPress site.



#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?wpbeginner.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

Note: Don’t forget to change wpbeginner.com with your own domain.


You may also want to check our article showing 4 ways to prevent image theft in WordPress.


Some content scraping websites automatically create posts by stealing your content from your RSS feed. You can check out our guide on preventing blog content scraping in WordPress for ways to deal with automated content theft.


[Back to Top ↑]


That’s it! We hope this article helped you learn some useful tricks to speed up WordPress and boost performance.


Go ahead and try out a couple of these techniques. Be sure to test your site’s speed before and after, and let us know your results in the comments.


You might also be interested in our case study of how we optimized List25 performance by 256%. It has a few more advanced optimization tips for you.


If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.


The post 18 Useful Tricks To Speed Up WordPress & Boost Performance appeared first on WPBeginner.


Page 3 – WPBeginner




What Effects Your Server Performance



alt="What Effects Your Server Performance" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2015/04/default-image-500x308_c.jpg" />

Numbers on paper can appear to mean the world.

But how much can you really trust them, and how accurate of a depiction are they to the performance of the device you are using? When it comes to having your own dedicated server, for whatever use you may have, it would be ideal to have the best performance you can, right? I don’t think many people are going to spend the money on a server and say “Hey, I don’t mind if it underperforms”, and if they do, well then maybe they should reconsider owning a dedicated server in the first place.

Best Server for Performance?

Let me begin with clarifying a few things. If you want server performance to outdo the competition, you will need a dedicated server. If you simply want great performance relative to the money you are spending, then a virtual server is possibly a better option for your webhosting needs. If you honestly don’t care about performance and just want to have an online presence, then some kind of free or cheap web hosting service for your website is the way to go. I’m not going to get to the ins and outs of what do you need specifically for your business, I will just be going over how to make your server perform at it’s peak, which would assume it’s therefore a dedicated server that you own. This gives you the benefit of complete customisation for all hardware and software, and allows all resources in the machine to dedicated to you and your needs.

RAID

If your server does not have a RAID setup, then I highly recommend you get it. Not only can you help reduce the chance of losing your data by increasing the fault tolerance level, but you can increase performance too. Having a system in RAID 0 allows you to increase performance by spreading the information over two drives, therefore allowing the read and write speed to theoretically double as one piece of information is only being written to one disk while the second piece can be simultaneously written to the second drive.

class="border" src="http://www.webhostingsecretrevealed.net/images/2012/0928-7.jpg" alt="RAID setup" width="750px" />

In the image above, if you can image the string ABCDEF makes a file, by spreading the information over two drives, the read/write speed is in a sense doubled. ‘A’ goes to drive one, ‘B’ goes to drive two, ‘C’ goes to drive one and so on. RAID 1 is different for the fact it copies the information and duplicates it over two separate drives, so the time it takes to write or read the string ABCDEF is less than that of drives in RAID 0.  You can see a depiction of RAID 1 below.

class="border" src="http://www.webhostingsecretrevealed.net/images/2012/0928-8.jpg" alt="RAID setup" width="750px" />

This presents some issues though, as the chance of hardware failure is now doubled due to having two drives. You can always increase the fault tolerance level by setting up in either RAID 01 or RAID 10. Either way, performance can be increased with a system in RAID, assuming its one of the many types of RAID that stripe the data.

IOPS

IOPS are important. A lot of people seem to pass this by and only think of read/write speeds. As important as reading and writing is, the amount of times something can be read and written is also very important. If your server is going to be handling many small read operations, e.g. reading small files over and over at an unrelenting pace, then you need to consider a storage medium with a relatively high IOPS level. IOPS stands for Input/Output Operations per Second for those who don’t know.

A storage drive is rated to a certain amount of IOPS, and with a 7200 RPM SATA HDD you are looking at roughly 100 IOPS. Compare this to a solid state drive with around 40 000 you can clearly see one outperforms the other. These SSDs aren’t even the limit, if you pick yourself up an SSD that connects to the motherboard through PCI, you can expect up to a whopping 120 000 IOPS with ridiculously high read/write speeds. The OCZ Revodrive that offers this performance is already setup in RAID 0 to help get this incredible speed, however I have been told (but cannot confirm as I have never seen it done myself) that apparently you can get two of these bad boys and RAID them. A good middle ground for this I find is the OCZ Vertex 4. At around per gig with an IOPS rating averaging 90 000, this thing should handle both fast read/write needs and high IOPS needs without spending thousands of dollars on PCI storage systems.

Bottlenecking

Now that we have storage out of the way, we can move onto Bottlenecking. In short, for those who don’t know, bottlenecking is where something in the system has the capability to perform at a high level, but another piece of hardware down the line restricts the ability for the entire system to perform as fast as the best piece of hardware.  This concept is similar to the term ‘you can only walk as fast as the slowest person in a group’.

This is something that a lot of people end up doing if they do not do their homework. To tech heads, this stuff is second nature, however some places that ‘run on the cheap’ and use older generation hardware could be bottlenecking their system by using SATA2 devices, or installing slower RAM (even dreaded DDR2, but that would be very rare) but then have a fast CPU and advertise this fact as a selling point. It is vital that if you want a system to perform at it’s peak there needs to be minimal bottlenecking to let everything run smoothly. For example, if you are writing information to a HDD with a slow read speed of 100MB/s and use a CPU such as an Intel i7 3960X that can process 51.2GB/s, you are severely bottlenecking the system compared to using an SSD. By taking into account bottlenecking, not only can you optimise a system, but also take into account the fact you are able to save money on hardware by defining how many resources you need, and saving money by buying hardware that isn’t unnecessary for your system.

Bandwidth and Latency

This is something that is really out of the hands of a dedicated server owner. The only real option here is to ensure the company you are hosting it with has sufficient bandwidth allowance available for your needs. If you are streaming 100GB from your website per month and your hosting company provides only 50GB per month, you will find yourself in a bit of trouble. This is general knowledge though, and realistically doesn’t need to be explained.

Latency is another aspect to consider, you need to find out where your audience is and have servers located as close as you can to the majority of them. You can’t control ping to a large extent; better switches can reduce the latency, however the data still needs to be transferred around the world. I guess the only ‘optimisation’ you can do here is to pick the right company to host the servers, or host it yourself if you have the resources and a close enough audience.

In short

Basically you need to have a dedicated server (not a href="http://www.webhostingsecretrevealed.net/vps-hosting-guide/">VPS hosting, not as much control there), use a storage drive that has high read/write speeds (preferably an SSD) with a good IOPS reading, put them in a performance increasing RAID setup, research your hardware to ensure there is minimal bottlenecking, and place the server close to the people who are going to be using it. Simple stuff, right?


Page 23 – Web Hosting Secret Revealed




WordPress Performance Optimization: Data Comes Before Optimization



alt="WordPress Performance Optimization: Data Comes Before Optimization" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2013/05/0514-1-500x254_c.jpg" />

dir="ltr">style="font-family: Roboto, sans-serif; font-size: 15px; line-height: 1.5em;">The Internet abounds with articles that will tell you href="http://www.webhostingsecretrevealed.net/blog/seo/speed-up-your-website/">how to optimize the performance of your WordPress site. I’ve written style="font-family: Roboto, sans-serif; font-size: 15px; line-height: 1.5em;" href="http://www.speedawarenessmonth.com/wordpress-performance-four-simple-steps-for-a-faster-site/">some of themstyle="font-family: Roboto, sans-serif; font-size: 15px; line-height: 1.5em;"> myself. If they’re any good, after reading you’ll have a clear idea of the best practices for improving the performance of a WordPress site. But, “best practice” is more or less a code phrase for “if you can’t or won’t learn how to understand this subject in depth, by doing this you’ll probably make things better.” Best practices are very general, and although implementing them will help, it’s unlikely to produce the best possible results in every case — and that’s what optimization is all about: figuring out how to achieve the optimal outcome in specific circumstances.

dir="ltr">Every WordPress site is a unique combination of themes, plugins, and tweaks, each of which can affect performance. The only way to truly optimize a WordPress site is to know precisely which aspects are causing performance issues and focus your efforts there. There’s very little point spending money and time setting up an international content distribution network if 98% of your local business site’s visitors live within 100 miles of the server; perhaps your time would be more fruitfully spent sorting out the social sharing widget causing multi-second delays loading your homepage.

dir="ltr">To know where your efforts are best placed, you need data. In the rest of this article, I’m going to highlight some tools you can use to profile a site and gain insight into what is influencing performance.

href="https://developers.google.com/speed/pagespeed/insights/">PageSpeed Insights

style="text-align: center;">class="aligncenter size-full wp-image-8774 border" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/pagespeed-insights.jpg" alt="google pagespeed insights" width="750" height="431" srcset="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/pagespeed-insights.jpg 750w, http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/pagespeed-insights-300x172.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" />

dir="ltr">PageSpeed Insights is a service from Google that will analyze web pages and provide a detailed report with advice about how performance can be improved. For example, if you aren’t minifying your JavaScript, PageSpeed Insights will let you know which scripts could be minified and the potential benefits.

dir="ltr">href="http://wordpress.org/plugins/google-pagespeed-insights/">Google Pagespeed Insights for WordPress is a plugin that takes PageSpeed data and uses it to create a dashboard that will help site owners target their optimization efforts.

href="http://tools.pingdom.com/fpt/">Pingdom Tools

style="text-align: center;">class="aligncenter size-full wp-image-8775 border" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/pingdom-tools.jpg" alt="pingdom tools" width="750" height="345" srcset="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/pingdom-tools.jpg 750w, http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/pingdom-tools-300x138.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" />

dir="ltr">Most site owners will already be familiar with this one, but it’s worth mentioning because it’s very useful. There is some crossover in functionality with PageSpeed Insights, but if you’re a visual thinker, you’ll find that the waterfall representation will give you a clear insight into the page-load process, making it easy to spot the causes of latency.

href="http://wordpress.org/plugins/debug-bar-slow-actions/">Debug Bar Slow Actions

style="text-align: center;">class="aligncenter size-full wp-image-8776 border" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/debug-bar.jpg" alt="debug bar" width="750" height="429" srcset="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/debug-bar.jpg 750w, http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/02/debug-bar-300x171.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" />

dir="ltr">If you really want to know the nitty-gritty details of your site’s performance, the Slow Actions addition to the href="http://wordpress.org/plugins/debug-bar/">Debug Bar plugin will give you all the information you need.

dir="ltr">The plugin will display the 100 slowest actions that go into building a WordPress page. This information is more useful to developers than the average WordPress user, but if you’re intent on learning what you need to know to properly optimize your site, this plugin is irreplaceable.

Avoid Pointless Optimizations

dir="ltr">At the top of this article I said “best practices” aren’t always the best for specific sites. That’s because some optimization advice is irrelevant for some sites. To combat that I advise that you gather as much information about your site as possible, but too much information can be as dangerous as too little if you don’t prioritize properly.

dir="ltr">Keep in mind that even if these tools tell you “Factor X” is making your site slower than it could be, that only matters if it has a tangible effect on user experience or conversions — even Google’s homepage fails some of its PageSpeed Insight tests. A law of diminishing returns operates here. Sometimes fast is fast enough, and more optimization is just wasted time. Use these tools, but make sure you put the information they provide in the context of your wider goals.

Optimizations That Provide Good Bang For The Buck

dir="ltr">Hopefully I’ve made it clear in this article that obsessive optimization is often not the best use of resources. There are however, a number of optimizations that will result in better performance for almost any WordPress site.

Choose Good Hosting

dir="ltr">href="http://www.webhostingsecretrevealed.net/ultimate-cheap-web-hosting-guide/">Cheap hosting might be tempting, but there’s a reason it’s cheap. Low-cost shared hosting providers tend to over-sell their plans. There will be more sites on a server than it can reasonably handle, especially if a few of them get traffic spikes at the same time. If your hosting is slow, nothing else you do is likely to benefit your site as much as it could.

Caching

dir="ltr">WordPress is a dynamic site generator. It takes a mess of PHP code and database queries and cobbles them together into the HTML that makes up a webpage. No matter how whizz-bang fast your hosting is, dynamic page generation is slower than serving static pages. We use dynamic site generators because they come with lots of other benefits – not many of us would be happy coding our sites from scratch – but most of the time we don’t need to have pages generated for each visitor: they don’t change that quickly. Caching lets us save generated pages on disk or in memory, which makes them almost as fast as a static page.

dir="ltr">The best plugin for caching on WordPress is href="http://wordpress.org/plugins/w3-total-cache/">W3 Total Cache. It’s fairly straightforward to use, but it has more than enough configuration options for even the most dedicated optimizer. W3 Total Cache will also handle other useful optimization tweaks, like JavaScript and CSS minification.

Loading JavaScript And CSS Asynchronously

dir="ltr">One of the things that Google PageSpeed Insights will complain about is JavaScript and CSS files that load first and block everything else. Because these scripts are generally included in the <head> of an HTML file, they’re among the first things that the browser comes across on a page and everything else stops while they load. In most cases, neither the JavaScript nor the CSS really need to be loaded first. href="http://wordpress.org/plugins/async-js-and-css/">Async JS and CSS is a nifty plugin that will prevent JS and CSS files from blocking the loading of the rest of the page.

dir="ltr">Once you’ve got good hosting, caching, and asynchronous loading in place, it’s time to think about using a content distribution network. After that, your optimization tweaks will start to fall into the realm we discussed earlier, and it’s time to give serious thought to whether you’re over-optimizing and if your time might be better spent on conversion rate optimization or writing great content.


Page 15 – Web Hosting Secret Revealed




How to Improve Your Facebook News Feed Performance



alt="How to Improve Your Facebook News Feed Performance" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/05/facebook--500x302_c.jpg" />

Getting into a News Feed on Facebook means that your page is visible to someone directly. When they log onto their Facebook page, your post sitting there on their screen is what every social media marketer is after in the long run. Facebook’s updates with the News Feed makes it easier to be seen, but there’s still a lot of work that needs to be done.

If you’re a social media marketer looking for ways to href="http://www.webhostingsecretrevealed.net/blog/featured-articles/social-media-marketing-productive-tools/">improve the overall performance of your campaign, here are some tips to help you boost the number of News Feeds you land in with your content.

class="aligncenter size-full wp-image-9598" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/05/facebook-.jpg" alt="facebook" width="750" height="454" srcset="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/05/facebook-.jpg 750w, http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2014/05/facebook--300x181.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" />

Vital Tips for Improving Facebook’s News Feed

1: Target Online Fans

The best way to be seen by someone in their News Feed is to be seen quickly. In other words, your best bet is to send out a piece of content when the highest number of your fans are online. The first step here is to figure out when the biggest bulk of your fans are online. It won’t all be in the same minute, or perhaps even in the same hour, but what you want here is a time frame to release content.

Figure out when your fans are logging on and then submit your content. This step alone doesn’t help improve the number of News Feeds you will be visible in, but it does ensure that more of your fans will see your content.

2: Post Regularly

One of the best ways to improve the performance of your campaign is to release content regularly. Using the above tip as a guide on what time of day to post, you should try to release something every day.

You have to prepare for the fact that even some fans who see your content won’t actually engage with it. However, regular postings give you the best chance at earning higher engagement numbers.

3: Increase Your Viral Reach

Increasing your viral reach is a great way to show up in more News Feeds and to attract many more fans. One way you can do this is to actually allow your fans to post updates on your page. It’s a win-win advertising situation for both parties. For you specifically, a lot more Facebook users become familiar with your page.

Don’t worry about people spamming you here. Facebook allows you to configure your page so that certain keywords and profanity are blocked. Besides, you wouldn’t offer this feature to anyone; you would make sure there’s some level of trust there.

4: Hold a Comment Contest

The more comments you’re able to get on any post, the better it is for your overall News Feed performance. More engagement means your page is more heavily weighted. Not only will you appear in more News Feeds, but your messages will stay in a little longer.

You can get a lot of comments on a post by holding a simple contest and offering a simple prize. For instance, you can give out a free product to the person who comes up with the best caption for a photo. This could lead to a flood of comments, which in turn does your campaign a lot of good.

5: Tag People

Another great way to boost your performance is to tag people inside of a comment. As a workaround to Facebook’s rules about pages not being able to tag, you just have to wait until a user leaves a comment on an update. If you move in and comment on that same update, viola, you can tag that person.

When the tagged party revisits the material, it becomes public on their profile page, which should allow your page to pick up some viral steam by association. It’s not a tip that’s going to instantly bring you a ton of traffic, but it is a very easy way to increase performance.

6: Reply to People

With this tip, you’re looking to capitalize on the goodwill of other brands on Facebook. For instance, if you see a brand you like or a campaign you admire, Like it, comment on it, and send some type of positive shout-out. There’s an unwritten rule on the Internet (that most people follow, at least), and it’s quite simple: If someone sings your praises, return the song.

Replying to people in this fashion should prompt them to return the favor, and every little bit of positive engagement you receive is going to help your campaign in the long haul.

7: Pay for Advertising

The trouble with all the many organic tips above isn’t that they don’t work; they certainly do. What seems to be the issue here is that there’s only so far you can go organically. Eventually you’re going to have to spend on Facebook if you want to make a bigger splash. And one of the best ways to spend is on a format like a Promoted Post.

Using a great third-party ad management app, you can promote a post that was already popular, breathing new life into it and ensuring that it reaches even more News Feeds. The end results should be a big boost in your fans, your traffic, and in your News Feed performance.

8: Advertise Outside of Facebook

Another solid way to up your Facebook performance actually takes place offsite. With this tip, you want to link your latest post on another popular forum. For instance, you can link it on Pinterest, Instagram or send it in a tweet.

Increased traffic signals to Facebook that your material is worth keeping around, and when used in conjunction with some of the other tips listed here, your post is going to linger around News Feeds for longer, eventually bringing more people to engage with your page.

Building up your News Feed performance is a process. It’s also very cyclical in a sense. Basically, you’re attempting to work on your overall engagement, which brings in more fans, allows you to touch more News Feeds, and allows your material to stay in News Feeds for longer.


Page 14 – Web Hosting Secret Revealed