Why Tolerate A Lagging Site? 10 Speed-Up Tips For Joomla
by QArea Expert on Oct 13, 2014Why Does Speed Matter?
If you have a Joomla-powered website that is currently slow, you should consider a couple reasons why it’s bad for you. First, users just hate long loading time and quit after 2 seconds of waiting. Second, Google takes your site speed in account for search ranking. That must be enough for you to start fixing your speed problems, isn’t it?
Can I Fix That?
Luckily, improving the speed of Joomla development services and products isn’t very difficult. While you can sometimes hear that Joomla is basically slow, that’s not the reason for your site lagging actually. What usually is is bad hosting companies or incorrect setup. You can fix both especially when you know where exactly to look.
10 Steps To High Performance With Joomla:
Before you start doing anything, measure your current speed using tools like Google Pagespeed Insights, GT-Metrix or Webpagetest.org. Now that you’re ready to optimize, back up and go ahead!
- Choose the right web host
A proper host is crucial for performance when you’re into Joomla services development. Even with an optimized site, a bad host may screw up all the efforts in the end. To make an informed choice of host, you may want to read reviews and forums. Free hosts are better to be avoided as after some time with them you’re going to feel on yourself why they were for free. It’s also useful to compare dedicated and shared hosting packages. While dedicated ones are normally faster, they come more expensive.
- Leverage the Joomla cache
Don’t forget to clear your cache after every improvement to the site you’ve done or else your users are going to get the old information. Joomla serves cache of three types: page views, module views and component views. You can set the one which better suits your needs. While page views are cached only via the System-Cache plugin, the two latter are set by selecting “Conservative” in the Global Configuration window. Beware of possible cache issues with dynamic pages such as captchas, contact forms, etc. There are also a few extensions which can help you solve such issues, including Cache Control and JotCache.
- Use Gzip
On your Server tab in Global Configuration you’ll find the Gzip Page Compression setting. When it’s turned on, the pages are compressed into a zip file, then sent to your PC’s browser and unpacked there. All browsers except some really old IE versions support it and it’s usually safe to be turned on.
- Remove unnecessary extensions
You should also be wise while picking extensions for your site since some of them can have an unexpected effect on website performance. You should be especially careful with social media scripts such as counters for tweets and likes, large sliders, image shows, Google Webfonts, Google Analytics and other scripts. If you really need those, at least consider their off-loading to some other pages than your home page.
- Try caching in .htaccess
By renaming a htaccess.txt file into .htaccess, it’s possible to add in it some code to stop your browser from requesting certain image types from server provided they are already on your PC. Since images often make up a great part of web pages, this could save you bandwidth significantly.
- Optimize images
As you know, images are accountable for more Kbs of your page than the rest of the elements, so optimizing them is an essential step to high performance. First, make you are using only correctly-sized images. Second, use compression tools to further reduce your images’ size by stripping unnecessary data you may’ve not even known of. The helping tools for you include TinyPNG.com, Smush.it, PNGGauntlet, RIOT and others.
- Install a CDN
Usage of a content delivery network allows you to serve your static files not from your web host’s location, but from your CDN provider’s global servers network. The advantage of such a systems is that users located far away from your server will receive the files from the location which is the nearest to them. This only doesn’t include the HTML code containing some frequently changing content.
Though seemingly complicated, this is not very expensive and quite easily implemented. This trick is good both for globally operating sites and sites in some large countries.
- Brush up CSS and Javascript
Modern sites are known for their multiple Javascript and CSS files. While a site looks impressive with all of these, it often gets considerably slower, too, as these files add to the size and amount of HTTP-requests or even stop further page loading while executing. Luckily enough, you can use a few techniques to overcome most of the issues. You can do that by compressing the files, combining many files into one, or using an async or defer attribute in your scripts to delay execution.
- Use speed optimization extensions
Another good helper for speeding up a site is a range of available specialized extensions. Must-have ones are JBetolo, Yireo ScriptMerge, JCH-Optimize and aeSecure. These especially address many issues described in the previous step and under the Advanced tab you can often find some extra useful options.
- Make it mobile-friendly
Fast performance of your site on a desktop doesn’t always mean it works on mobile devices just as well. Those who have tried checking the site speed with Google Pagespeed, must’ve seen it separate Mobile performance tab. It appears, despite the improved techniques such as 4G, a site may still not load as fast as expected.
The key solution here should be loading only what is really necessary. The hidden-phone or hidden-tablet classes for hiding stuff don’t really decrease the needed bandwidth. One chance is implementing user-agent detection for checking whether it’s a mobile device rather than just a resized window of the browser. Afer detected the mobile agent you may selectively disable some module positions. This is well implemented with the Advanced Module Manager by NoNumber.nl.
Follow-Up
When you’re done optimizing, check your website speed once again and let us know if these tips helped you!
We Help With
Your tech partner needs to be well versed in all kinds of software-related services. As the software development process involves different stages and cycles, the most natural solution is to have them all performed by the same team of experts. That’s exactly what our diverse range of services is for.
The choice of technology for your software project is one of the defining factors of its success. Here at QArea, we have hands-on experience with dozens of popular front-end, back-end, and mobile technologies for creating robust software solutions.
In-depth familiarity and practical experience with key technologies are one of the cornerstones of successful software development and QA. But it also takes specific knowledge of the industry to develop a solution that meets the expectations of the stakeholders and propels its owner to success.
Reach out to an even wider audience with a custom, widely accessible web app.
Ensure an effective online presence for your business with a corporate site.
Take the first step on the way to a successful business with an MVP.
Meet your business goals with a powerful, custom SaaS solution.
Make sure the quality of your solution meets your expectations.
Beat the competition with a modern, breathtaking & user-friendly design.
Create stunning, highly functional, and easily scalable front-end solutions.
Build flexible, good-looking front-end solutions for any scale and purpose.
Construct a powerful, stable, and secure back-end solution for your business.
Take advantage of the .NET flexibility and scalability for your back-end solution.
Turn your mobile app idea into reality with a custom React Native solution.
Build a highly personalizable blog, eCommerce shop, or corporate website.
Optimize your HR processes with a functional and powerful solution.
Pave the way to future success with our startup development expertise.
Build a healthcare product designed for dependability and rapid growth.
Give your buyers what they want — a seamless shopping experience.
Create a product with rich functionality and impeccable security.