• Divi Nitro

    Make your pages load faster, and give your customers a more dynamic shopping experience. Nobody likes to wait.

    Find out more

Speed up your website with some simple, yet effective .htaccess tricks. We safely add some code to your .htaccess file that optimise your site. You can flip on/off all of the following modifications so you never have to worry about it breaking your site!

Our .htaccess modifications

Leverage browser caching

Every time a browser loads your website, it has to download all the HTML, CSS, JS and images to display the page. The more files it needs to download, the longer it takes. Browser caching can help by storing some of the files locally on the visitors browser. When they visit again, it will need to download less and therefore be quicker. By caching your logo for example we can tell the browser to only download it once a month for example.

Gzip compression

Gzip compresses your files before sending them over to the browser, this reduces the transfer time since they are much smaller files. It can reduce the size of pages and style sheets by up to 70%!

The main reason why gzip is important is that it reduces the load time by reducing the size of files that need to be downloaded.


Enabling HTTP Keep-Alive allow the same TCP connection to send and receive multipole HTTP requests, this therefore reduces the latency and therefore speeds up your site

Disable Image Hotlinking

There are chances that spammers can use your image link on their websites. And because of this, every time when someone visits that webpage, images will be loaded from your server. This is known as Image Hotlinking. You can disable the use of your images on another website and therefore decrease the server load.

Cache-Control Headers

Cache-Control is a HTTP header that defines the amount of time a file is to be cached. We make it so that images are cached for a year and scripts for one month.

Defer Youtube Videos

Divi Nitro

Defer YouTube/Vimeo videos

Having a YouTube or Vimeo video on your website is such a great tool speak to your visitors, the main issue is the number of scripts it loads, this with trying to load the adverts on YouTube or just the JS files loaded by Vimeo or YouTube, this slows down the load of the page. Add over 10 videos and this becomes a big problem with the load time.

We have added a custom module called “Defer YouTube/Vimeo Video” – this module will ONLY load the video and scripts when the visitor interacts with the clip and presses play, therefore not impacting the load time. 

It used to only defer YouTube, but now we defer Vimeo too.

Video documentation

HTML minification

Divi Nitro

HTML Minification

There’s a reason that Google’s PageSights recommends HTML minification; it improves page rendering speeds without a single negative effect to the application or the user’s experience.
JS deferral

Divi Nitro

JS Deferral

Using this method means that the JS files don’t get in the way of the page being loaded. Rather than running JS when the page opens, the JS files are queued for execution immediately after the DOM gets loaded. To the user this will be seamless, and the page load speed will improve.
Imagery deferral

Divi Nitro

Defer Divi Images

Even when images are optimised, they still slow down pages. So rather than load all images at once, we render those at the top of the page (after the initial page load) and allow the rest to quietly render in the background after this. The user is none-the-wiser and sees the same great content; only quicker.
CSS minification + combination

Divi Nitro

CSS Minification + Combination

CSS files can get lengthy, and using minification and combination is a great way to make the files more compact, easier to parse, and quicker to run.
Script clean-up

Divi Nitro

Script Clean-up

We use additional mods to clean out defunct and redundant scripts, so you’re only running the code you need. Your customers will reap the speed rewards of a leaner codebase with no excess baggage.
JS minification + combination

Divi Nitro

JS Minification + Combination

JS minification allows the code to optimised, and JS combination pulls all your files into one place, which means the browser only has to ask for your scripts once. Both techniques together result in more efficient processing of JS code, and therefore, the pages perform faster.