For all you web developers or business owners who are looking to make more efficient use of your web server resources, caching can be a great solution.  Drupal caching is no exception.  

Did you know that a single call to a single drupal web page incurs anywhere from 50-100 database queries?  Yikes.  With caching you can reduce the number of db calls significantly, in some cases to just a single db call.  And that’s why we like caching 🙂

Besides, the more complex a website becomes or the more moving parts a website has that interact with a database, the greater the benefit the site will receive in terms of performance if caching is enabled in some form.

Generally, with caching you can:

  • decrease total page loading time
  • use less resources (CPU/RAM)
  • potentially increase visitor time on page
  • increasing trust with spiders (good for organic SEO)

What’s really cool is: caching is easy with Drupal!  Drupal even has a built in Cache API that lets you define what areas of your site you’d like to cache.  And if you decide not to use drupal, the following video shows you the programming logic you can use to implement caching for just about any website, regardless of it’s framework/CMS (though it still works well with drupal).

Also of note, Drupal has a built in caching mechanism page (separate form the cache API) which lets you set caching site-wide.  This option can be good for simple, brochure type websites that don’t have a lot of dynamic, constantly updating information – I wouldn’t recommend this option for more complex websites or sites that have a lot of user activity (best to stick with the Cache API in that case).  

If you’re a drupal webmaster, you can find the cache settings page at

"Administer" -> "Site Configuration" -> "Performance"

which displays options to enable site-wide caching, block caching as well as css and javascript caching.

If you’re using drupal as your CMS and still want to cache only certain parts of your site but don’t feel like using drupal’s built in cache API, you can use other caching modules and or other 3d party caching solutions with the drupal CMS.  For example, I’ve never used Cache Router but have heard that it’s pretty good as it interfaces some of the other, more popular 3rd party caching solutions such as memcache.

Comments

Your email will not be published. Required fields are marked *

There are no comments yet.

Other posts you will enjoy...

Are You Using Content Curation as a Crutch?
Keeping Audiences in Mind When Developing Content Strategy
6 Steps To Building an Email Marketing Calendar
What’s the Right Length for an Email Newsletter?