Size of Smarty.class.php

From: Date: Sat, 27 Oct 2001 15:28:28 +0000
Subject: Size of Smarty.class.php
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1738@lists.php.net to get a copy of this message
Hi, Has there been any discussion about the size of Smarty.class.php? I was just thinking that if we were using caching, for a 50kb file to be parsed every time we need to check if the page is cached is a lot of overhead. Wouldn't it be better to put the is_cached in one file, and then if the page isn't cached, or caching isn't turned on, it includes the rest of the class? It would mean one more read operation for those without caching, but I believe it would be quicker for those of us with caching turned on. Or will it not actually make much difference? Thanks, Peter. ---oOo--- sendcard - *The* PHP e-card solution http://www.sendcard.f2s.com/ ---oOo---

« previous php.smarty.general (#1738) next »