Caching an area on a template
| From: | Jonathan Chum | Date: | Wed, 24 Jul 2002 15:21:39 +0000 |
| Subject: | Caching an area on a template | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5408@lists.php.net to get a copy of this message | ||
I'm building a control panel tool using Smarty and there is an area which
displays status of services, queries disk usage, etc. This can take a while
to run and so I'm building this as an external template which is "included"
by the main template.
What I'd like to know is if there is a way or a better way of caching a
specific area of a template whether it should be done via Smarty, or done by
the PHP script and cache it's results temporary and assigned the cached data
into Smarty.
Regards,
Jonathan Chum
Systems Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A I S M e d i a , I n c .
"We Build eBusinesses"
115 Perimeter Center Terrace
Suite 540
Atlanta, GA 30346
Tel: 800.784.0919, Ext 502 / Fax: 678.382.2471
http://www.aismedia.com / jchum@aismedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~