I've tried enabling the cache to help my site use fewer resources.
But the problem is that I have a section on the front page (a block placed in a panel) that shows what is currently on air -- the current radio show. With the cache enabled, this shows the wrong thing after a couple of hours or so when it's a different show.

Is there a way to have the cache enabled, but expire either the whole thing or just that block at certain times, or every hour on the hour?

Comments

paulnem’s picture

You may want to look into other cacheing methods. The advanced cache module may, though I've never tried it allow you to cache what you want specifically and leave certain blocks uncached.

http://drupal.org/project/advcache

The Block cache may also be a simpler option (no link).

druvision’s picture

Call cache_clear_all on cron

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