How to make use of a fragment cache

Comparing #4 with #5

Revision #5 was created by mocapapa mocapapa on Mar 24, 2009, 1:08:47 AM.

changed note

Content

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

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