Skip to content

dart-creations.com

Advertisement
Home arrow Joomla arrow Joomla Tips and Tricks arrow #6 - Switch on the Cache

Print E-mail

#6 - Switch on the Cache

Audience: Joomla Webmasters / Newbies

Switch on Caching to give your Joomla website an instant performance boost.

 

What is a cache? Wiki says:

A Cache is a collection of data duplicating original values stored elsewhere or computed earlier, where the original data is expensive to fetch (due to slow slow access time) or to compute, relative to the cost of reading the cache. In other words, a cache is a temporary storage area where frequently accessed data can be stored for rapid access. Once the data is stored in the cache, future use can be made by accessing the cached copy rather than re-fetching or recomputing the original data, so that the average access time is lower.

What does this mean in terms of Joomla? Instead of hitting your MySql database with same queries over and over again, your data is stored to a local storage (in the Joomla cache directory) and retrieved from there, instead of from the database. This means that your database will perform better, and your website will feel faster, and be able to support more simultaneous users.

The standard Joomla cache is enabled from Site > Global Configuration > Cache tab, and mark it as enabled. Though there are components written for caching the out of the box caching will give your website an instant boost.

Comments
Add NewSearchRSS
kiran_ks - Excellent articles!! IP:24.219.21.42 | 2007-10-15 01:32:56
Hi,
This is what a new joomla admin wants! simple, easy-to-understand articles.

Many thanks!

kiran
Melissa - Switching on Cache = Messed-up IP:155.212.194.242 | 2008-01-03 12:36:49
Any insight as to why switching on the cache for a website would modify images and layout?

PLZ HALP!
Melissa - Switching on Cache = Dodgy lay IP:155.212.194.242 | 2008-01-03 12:38:14
Any insight into why switching on the cache would screw up the layout of a website???
DART Creations - Switching on Cache = Dodgy lay IP:85.232.195.188 | 2008-01-03 13:14:53
I don't believe switching on caching should have an effect on the layouts. As I understand it, caching is done for the database, not for the template CSS, though I will investigate further.
DART Creations - Messed up layouts IP:85.232.195.188 | 2008-01-03 13:50:16
If you turn off the caching, does the layout come back to normal?
Write comment
Name:
Title:
Security Image
 

Subscribe to our feed


RSS Feed

DART Creations - Joomla Tutorials, Tips and Tricks and more...

Joomla Tips

DART Creations Joomla Tips, Tricks, tutorials and general Joomla help

Sponsors

Buy us a beer!

Lots of time and effort goes into creating and maintaining this site. If we've helped you, consider buying a beer. It will inspire us to keep on giving! Thanks! (€3)






Cheers ;)