Page Caching - Speed Up Website

Page Caching - Speed Up Website

By:


However, this approach has one big drawback. The rendering takes tame. Every time the page is requested, Joomla has to create it from scratch. For each request there are a lot of database queries, file reads and scripts processed. Depending on server load the page creation process can slow down loading in browser which can lead to bad user experience. Pages that load slowly are not visited frequently. As soon as the page does not load in expected time, users navigate to the next website.

The simplest way to speed up Joomla websites is to use caching. This is a process for storing created pages to files which are loaded on next requests for the same page. Caching significantly reduces time to load pages. There are two settings for caching in Joomla. One in global configuration and one as a cache plug-in.

The main cache setting is on the global configuration page. Here you can enable it and set cache time. This time is important because it also defines the time after which users will get new content if it has changed since their last visit. This setting affects caching of individual modules and component views. Each time some part of the website is rendered it is also saved to a file for later reuse. This file is kept for the time specified in cache settings, default value is 15 minutes. For each module you have also individual setting regarding caching. You can either use the global website setting or switch off caching of particular module. Polls, rotating banners and highly dynamic content should not be cached.

The second setting is a system cache plug-in. If enabled, this plug-in caches whole pages. Here you can also define the time after which cached pages will expire. This setting can significantly increase website performance since each page will be rendered only once during the lifetime of the cache file. However, if the content of your pages is dynamic and changes from one visitor to another, then you will probably have to disable this type of caching.


About the Author:
There is also an additional global setting for faster : GZIP page compression. If enabled, each page is compressed before it is sent to the browser. This is an additional for faster loading.



Article Originally Published On: http://www.articlesnatch.com


|

Loading...
Related....
Videos...

Recent Business Articles

Comments

Still can't find what you are looking for? Search for it!

Loading

Copyright 2005-2011 ArticleSnatch, LLC - All Rights Reserved.
Privacy Policy | Terms of Service.