Drupal 6 Cache API Tutorial

A step by step tutorial on how to use Drupal's Cache API. Example includes an overview and code walk through on a working example where we had to store an XML/RSS feed every 15 minutes and display on every page of the client website for quick retrieval. The code example can also be used outside of drupal by simply re-writing your own get and set cache functions. A side note, caching can be great for SEO on large, popular sites to help reduce page load times and allowing spiders to assign a higher trust value to your pages. For more info or videos on Drupal and SEO visit www.bestrank.com.

bestrank
324
11.18.09

Best Rank, Inc. is an SEO & Marketing firm helping businesses increase the quality and quantity of their search...

rate it:

No votes yet
 

Comments

Great tutorial, simply and

Great tutorial, simply and clear.

We could also say, using the default table cache is good for low performance sites or if your not caching very often. But on big drupal sites you must use on another table.
In doing this you will not increase the default table and the response time for mysql requests will be shorter

Best

Add comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.