How to make use of a fragment cache

Comparing #3 with #4

Revision #4 was created by mocapapa mocapapa on Feb 21, 2009, 9:11:13 PM.

typo fixed

Content

[...]
<?php if($this->beginCache('RecentComments', array('duration'=>60))) { ?>
<?php $this->widget('RecentComments'); ?>
<?php $this->endCache(); } ?>
```

Please be careful to use
the cache, because it increases the performance of the application, but decreases the interactivity.