Tag: Site Speed

Gzip Content Through .htaccess for Suported Browsers | Joomla

Compress all files through .htaccess

Here’s a few more tips to speed up your joomla website through your .htaccess file.

Borrowed from the magento standard .htaccess, which contained some nice code to compress, or not compress depending on the user agent calling for the page.

The lines look like this, and can be added to the bottom of your file:

Continue reading “Gzip Content Through .htaccess for Suported Browsers | Joomla” ››

Leverage browser caching | Joomla Speed Tips

Enable Leverage browser caching for Joomla websites

If you use firebug with either the pagespeed or Yslow plugin, you’ll be familiar with the persistantly red, top warning of ‘Leverage browser caching’ (‘Add Expires Headers’ with Yslow)

This can be quite simple to fix by adding the following lines at the bottom of your .htaccess file.

Continue reading “Leverage browser caching | Joomla Speed Tips” ››

Speed up the Joomla Search Function

This is more apparent when using an AJAX refreshless search method, but affects all joomla sites using the default search settings. Here’s how to speed it up…

 

Continue reading “Speed up the Joomla Search Function” ››

Joomla – Increase php memory without changing server settings.

Certain functions within joomla rely on a high/normal php memory limit. Certain web hosting companys have a very low php memory limit, around 8mb.

Continue reading “Joomla – Increase php memory without changing server settings.” ››

Joomla, Speed up Mootools Loading

Joomla slows down page loading times by loading the full uncompressed Mootools 1.1 Javascript library.

Here’s an easy way to speed it up…

Continue reading “Joomla, Speed up Mootools Loading” ››

Stop Joomla from Loading Mootools Javascript

Joomla loads Mootools.js and caption.js by default. If you have ever wondered why your simple pages load slowly, this could be the reason.

If you have nothing that uses Mootools.js (dropdown menus and such) and want to speed up your site then it would be a good idea to stop it from loading.

 

In your index.php file, place the following code directly above:

<jdoc:include type="head">
<?php $user =& JFactory::getUser(); if ($user->get('guest') == 1) { $headerstuff = $this->getHeadData(); $headerstuff['scripts'] = array(); $this->setHeadData($headerstuff); } ?>

This will stop mootools and caption from loading for all people viewing the website but keep it enabled for anyone above ‘guest’ level for the administration so you don’t loose functionality in the backend.

If you want to keep the scripts but speed up mootools loading time click here.