Hey guys,

I thought it might be useful to start a post about the various caching modules / potential caching performance solutions available for Drupal. I am curious which caching module will work well for a "dynamic" website. There seems to be various options, and hopefully someone here can shed some light as to the pros and cons of each one.

Thanks and look forward hearing from you.

Best,

Ivan

PS. Current problem of Drupal website follow similar:

Drupal Caching on High Traffic Site
http://drupal.org/node/81012

Cache table overhead and crashing
http://drupal.org/node/78424

Modules / Caching Solutions in no particular order:
- Boost Module
- Splitting up Cache Table
- File Based Cache
- Fast Path Caching
- Improving Category Caching
- Memcache
- Block Cache (for blocks, so kind of independent, but list for reference)

Boost Module (not released yet)
http://drupal.org/project/boost
http://bendiken.net/2006/05/28/static-page-caching-for-drupal

Split up cache table:
http://drupal.org/node/72290

Benefits:

1) selects from smaller tables are faster

2) some of the new, small tables won't change that often. This makes the mysql query cache more efficient.

File Based Caching
http://drupal.org/node/45414

Fast Path Caching
http://drupal.org/project/fastpath_fscache

Relates to category module and hope to improve its caching:
http://drupal.org/node/82554

Memcache:
hints: http://drupal.org/node/44220
more sample: http://www.tenpoundsound.com/blog/2005/11/drupal/memcache-drupal-impleme...

Block Cache
http://drupal.org/project/blockcache

Performance group for Drupal:
http://groups.drupal.org/high-performance

Comments

wim leers’s picture

Thanks for the summary, but now the question is: when will we see the modular caching implemented by default in Drupal? Since in some cases it's preferred to cache to the database, in others to the filesystem (especially high-traffic and/or shared hosting), this functionality would be a true sales argument for Drupal IMHO.
If I understand it correctly, Drupal 5's 'aggressive caching' uses the so-called 'FastPath' caching, but to the database instead of to files? That means we only have to modularize the caching system?
I'm new to Drupal since yesterday, so I'm not yet familiar with everything.

jiangxijay’s picture

Subscribing ...

Acert93’s picture

Exactly what I was looking for. File caching and the forum are the only 2 requests I have for Drupal development. There has been a bit of off-and-on again work on caching and it looks like there is some nice progress being made. Keep up the good work guys and thanks for the nice summary.

Btw, which of the current methods is most stable and easily migratable (or easily turned off) when Drupal has an official solution?

formicin’s picture

So, are there any working module that I can use for my 4.7.x website?
I tried "fastpath_fscache" and got a function error. Any other ideas?

formicin’s picture

So, are there any working module that I can use for my 4.7.x website?
I tried "fastpath_fscache" and got a function error. Any other ideas?

kalashari’s picture

There's new module called Advance cache that caches nodes, paths, comments etc for authenticated users:

http://drupal.org/project/advcache

dharamgollapudi’s picture

Subscribing.......

bobdalob’s picture

Subscribing

Sree’s picture

Subscribing!!!!!!

-- Sree --
IRC Nick: sreeveturi

andrabr’s picture

I was struggling to make sense of all the options, so I put together a write-up here: http://n0tablog.wordpress.com/2007/11/19/drupal-caching/

Hopefully it will save someone a few hours.

momper’s picture

Subscribing

junphine’s picture

http://drupal.org/project/apc is one too!
---
welcome to web.srv.cn

druvision’s picture

Subscribing

Amnon
-
Professional: Drupal Israel | Drupal Development & Consulting
Personal: Hitech Dolphin: Regain Simple Joy :)

mulogic’s picture

Subscribing

socialnicheguru’s picture

subscribing

http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.

oliverpolden’s picture

browlands’s picture

subscribing

Valeratal’s picture

subscribing

jenlampton’s picture

There's a more complete list here:
http://groups.drupal.org/node/21897

If anyone's interested.