How can I make Website faster?

August 28, 2018 2.2k views
WordPress Ubuntu

I am running my website on Ubuntu

WordPress 4.9.1 on 16.04
1 GB
1 vCPU
25 GB
$5/mo
$0.007/hr

My website is super slow. How can I make it faster? Thanks

1 comment
  • You could try disabling all your current plugins and see if it changes anything and if it does, re'enable them one by one to see which one is causing the slowdown. I’ve seen people recommend installing one of those caching plug'ins, maybe that helps you.

8 Answers

@X40C touched on some good points. The thing about Wordpress is that it is dynamic, meaning every page is generated based on the available code, prior to being sent to the visitor. On every page load the web application will load it’s base code, query plugins and themes, pull the information from the database, and then use the combined information to construct a website in real time.

Now, the more workload injected into any one of those parts, the slower the website will be. One bad plugin, or one bad theme, will break the entire site’s performance. For that reason I also highly recommend going very minimal on themes and plugins, and cycling through them to compare performance with/without.

Static caching plugins do help, but there are circumstances in which they are unable to. I always used WP Super Cache configured like this:

https://support.hostgator.com/articles/wp-super-cache-plugin

Then again, it’s been a little bit since I was over there doing managed Wordpress work, so there may be better plugins :)

Jarland

There definitely are @jarland. Autoptimize and Cache Enabler combination work wonders. I personally use Wp Rocket. It is a premium plugin though.

However @bantinthethaotv247, there’re things you can do from the server side. I would switch to nginx if already not on it. Enabling http2 also helps a bit. Then a CDN, the list goes on.

Hi there,

Here are ten ways to keep your website speed up to standard:

  1. Implement your own content delivery network (CDN). A collection of global servers share a website’s static files, such as CSS or JavaScript, and they deliver from the server closest to the user’s physical location. In other words, when a user clicks on a video, the file loads faster because it is distributed from a server nearby. Larger websites implement CDNs to ensure visitors around the world have a much more accessible, fast experience.
  2. Use adaptive images. According to the HTTP Archive, 61 percent of a website’s page weight on a desktop computer is images. Start by using tools such as Picturefill or Adaptive Images on your website to save bandwidth and improve page speed for your site. Another option is to adopt new image formats like WebP and JPeg XR—this can help reduce image weight by twenty to fifty percent without sacrificing image quality.
  3. Cache, cache, cache. Browser caching stores cache versions of static resources, a process that quickens page speed tremendously and reduces server lag. When a user visits a page on your website, the cached version usually displays unless it has changed since it was last cached. This means the browser saves a lot of requests to your server and improves load speed for your site.
  4. Evaluate your plugins. Plugins can bring new functionality and features to your website, but the more plugins your website has, the longer it takes to load. Poor or outdated plugins can slow down website performance dramatically, which could be fixed by removing plugins that duplicate functionality, are out of date or are no longer used.
  5. Combine images into CSS sprites. If you have several images on a page, you are forcing multiple roundtrips of the server to get all the resources secured, which slows down page speed. Sprites combine all background images on a page into one single image, which means all images appear when the main “sprite” loads. This reduces the chance of flickering images and a smoother experience for your users.
  6. Enable HTTP keep-alive response headers. HTTP requests are simple: they grab a single file, distribute and close. That said, this process is not always fast. Keep-alive allows the web browser and server to agree to use the same connection to grab and send multiple files. In other words, the server holds the connection open while a user is on the site instead of opening a new connection with every request, easing the load for the processor, network and memory.
  7. Compress your content. You can compress your content significantly in order to improve your website performance. Popular web servers such as Apache and IIS use the GZIP compression algorithm to do this automatically on HTML, CSS and JavaScript. There are even compressor services online that remove unnecessary spaces and characters across your HTML and CSS code.
  8. Configure expires headers. When a user visits your website, the website files are stored on their computer so that your website loads faster for them the next time they visit. There is an expiration date in the file header that determines how long these files will be stored on their computer, which is usually set to 24 hours by default. You can configure the expires header so that the files never time out, or you can increase the expiration date so that it doesn’t impact your server and page load time.
  9. Minify JavaScript and CSS. By removing unnecessary line breaks, extra space, and so on, you will speed up parsing, downloading and executing. This simple task can cut bytes of data from your page, and every little bit counts. Tools like this CSS Minifier/Compressor can be very helpful in this department.
  10. Review your hosting package. If you’ve taken these previous steps and your website is still loading slowly, you may want to consider a new hosting package. On a typical shared hosting account, you might be sharing server space with dozens of other companies, which can impact the speed of your website since a number of people are using the same server. If shared hosting no longer meets your needs, consider dedicated hosting. This option allows you alone have access to the server, or a VPS (Virtual Private Server)—a physical computer partitioned into multiple servers each running its own operating system.
  11. You can also try migrating to a Virtual Private Cloud (VPC). Companies that rely on their website to stream large amounts of content, or those running a browser-based SaaS platform may find that a VPC enables faster, more predictable performance and can cut bandwidth costs up to 70%.

*B.Leo *


“Leaning without thinking is useless thinking without learning is dangerous”
Happy WheelsCCleanerVLC

Here are ten ways to keep your website speed up to standard:

  1. Implement your own content delivery network (CDN). A collection of global servers share a website’s static files, such as CSS or JavaScript, and they deliver from the server closest to the user’s physical location. In other words, when a user clicks on a video, the file loads faster because it is distributed from a server nearby. Larger websites implement CDNs to ensure visitors around the world have a much more accessible, fast experience.
  2. Use adaptive images. According to the HTTP Archive, 61 percent of a website’s page weight on a desktop computer is images. Start by using tools such as Picturefill or Adaptive Images on your website to save bandwidth and improve page speed for your site. Another option is to adopt new image formats like WebP and JPeg XR—this can help reduce image weight by twenty to fifty percent without sacrificing image quality.
  3. Cache, cache, cache. Browser caching stores cache versions of static resources, a process that quickens page speed tremendously and reduces server lag. When a user visits a page on your website, the cached version usually displays unless it has changed since it was last cached. This means the browser saves a lot of requests to your server and improves load speed for your site.
  4. Evaluate your plugins. Plugins can bring new functionality and features to your website, but the more plugins your website has, the longer it takes to load. Poor or outdated plugins can slow down website performance dramatically, which could be fixed by removing plugins that duplicate functionality, are out of date or are no longer used.
  5. Combine images into CSS sprites. If you have several images on a page, you are forcing multiple roundtrips of the server to get all the resources secured, which slows down page speed. Sprites combine all background images on a page into one single image, which means all images appear when the main “sprite” loads. This reduces the chance of flickering images and a smoother experience for your users.
  6. Enable HTTP keep-alive response headers. HTTP requests are simple: they grab a single file, distribute and close. That said, this process is not always fast. Keep-alive allows the web browser and server to agree to use the same connection to grab and send multiple files. In other words, the server holds the connection open while a user is on the site instead of opening a new connection with every request, easing the load for the processor, network and memory.
  7. Compress your content. You can compress your content significantly in order to improve your website performance. Popular web servers such as Apache and IIS use the GZIP compression algorithm to do this automatically on HTML, CSS and JavaScript. There are even compressor services online that remove unnecessary spaces and characters across your HTML and CSS code.
  8. Configure expires headers. When a user visits your website, the website files are stored on their computer so that your website loads faster for them the next time they visit. There is an expiration date in the file header that determines how long these files will be stored on their computer, which is usually set to 24 hours by default. You can configure the expires header so that the files never time out, or you can increase the expiration date so that it doesn’t impact your server and page load time.
  9. Minify JavaScript and CSS. By removing unnecessary line breaks, extra space, and so on, you will speed up parsing, downloading and executing. This simple task can cut bytes of data from your page, and every little bit counts. Tools like this CSS Minifier/Compressor can be very helpful in this department.
  10. Review your hosting package. If you’ve taken these previous steps and your website is still loading slowly, you may want to consider a new hosting package. On a typical shared hosting account, you might be sharing server space with dozens of other companies, which can impact the speed of your website since a number of people are using the same server. If shared hosting no longer meets your needs, consider dedicated hosting. This option allows you alone have access to the server, or a VPS (Virtual Private Server)—a physical computer partitioned into multiple servers each running its own operating system.
  11. You can also try migrating to a Virtual Private Cloud (VPC). Companies that rely on their website to stream large amounts of content, or those running a browser-based SaaS platform may find that a VPC enables faster, more predictable performance and can cut bandwidth costs up to 70%.

B. Leo
Happy WheelsCCleanerVLC

easy follow this steps
Here are ten ways to keep your website speed up to standard:

-Implement your own content delivery network (CDN). A collection of global servers share a website’s static files, such as CSS or JavaScript, and they deliver from the server closest to the user’s physical location. In other words, when a user clicks on a video, the file loads faster because it is distributed from a server nearby. Larger websites implement CDNs to ensure visitors around the world have a much more accessible, fast experience.
-Use adaptive images. According to the HTTP Archive, 61 percent of a website’s page weight on a desktop computer is images. Start by using tools such as Picturefill or Adaptive Images on your website to save bandwidth and improve page speed for your site. Another option is to adopt new image formats like WebP and JPeg XR—this can help reduce image weight by twenty to fifty percent without sacrificing image quality.
-Cache, cache, cache. Browser caching stores cache versions of static resources, a process that quickens page speed tremendously and reduces server lag. When a user visits a page on your website, the cached version usually displays unless it has changed since it was last cached. This means the browser saves a lot of requests to your server and improves load speed for your site.
-Evaluate your plugins. Plugins can bring new functionality and features to your website, but the more plugins your website has, the longer it takes to load. Poor or outdated plugins can slow down website performance dramatically, which could be fixed by removing plugins that duplicate functionality, are out of date or are no longer used.
-Combine images into CSS sprites. If you have several images on a page, you are forcing multiple roundtrips of the server to get all the resources secured, which slows down page speed. Sprites combine all background images on a page into one single image, which means all images appear when the main “sprite” loads. This reduces the chance of flickering images and a smoother experience for your users.
-Enable HTTP keep-alive response headers. HTTP requests are simple: they grab a single file, distribute and close. That said, this process is not always fast. Keep-alive allows the web browser and server to agree to use the same connection to grab and send multiple files. In other words, the server holds the connection open while a user is on the site instead of opening a new connection with every request, easing the load for the processor, VLCnetwork and memory.
-Compress your content. You can compress your content significantly in order to improve your website performance. Popular web servers such as Apache and IIS use the GZIP compression algorithm to do this automatically on HTML, CSS and JavaScript. There are even compressor services online that remove unnecessary spaces and characters across your HTML and CSS code.
-Configure expires headers. When a user visits your website, the website files are stored on their computer so that your website loads faster for them the next time they visit. There is an expiration date in the file header that determines how long these files will be stored on their computer, which is usually set to 24 hours by default. You can configure the expires header so that the files never time out, or you can increase the expiration date so that it doesn’t impact your server and page load time.
-Minify JavaScript and CSS. By removing unnecessary line breaks, extra space, and so on Happy Wheels, you will speed up parsing, downloading and executing. This simple task can cut bytes of data from your page, and every little bit counts. Tools like this CSS —–Minifier/Compressor can be very helpful in this department.
Review your hosting package. If you’ve taken these previous steps and your website is still loading slowly, you may want to consider a new hosting package. On a typical shared hosting account, you might be sharing server space with dozens of other companies, which can impact the speed of your website since a number of people are using the same server. If shared hosting no longer meets your needs, consider dedicated hosting. This option allows you alone have access to the server, or a VPS (Virtual Private Server)—a physical computer partitioned into multiple servers each running its own operating system.
You can also try migrating to a Virtual Private Cloud (VPCCCleaner). Companies that rely on their website to stream large amounts of content, or those running a browser-based SaaS platform may find that a VPC enables faster, more predictable performance and can cut bandwidth costs up to 70%.

B.Leo

Have another answer? Share your knowledge.