Re: [SMARTY-DEV] smarty recompiling with op-code accelerators
| From: | Mark Rogers | Date: | Thu, 08 Jul 2004 09:58:14 +0000 |
| Subject: | Re: [SMARTY-DEV] smarty recompiling with op-code accelerators | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2460@lists.php.net to get a copy of this message | ||
Monte writes:
> Any thoughts on handling any of this a bit more gracefully? ;)
What would be the consequence of incorporating the Smarty version number
into the hash which generates the compiled template filename?
I can think of a few: it would fix this problem, and would stop systems
breaking when Smarty was upgraded and compiled files not deleted (but at the
expense of an ever accumulating templates_c directory).
On balance (after 5 minutes of careful consideration :-) the benefits seem
to outweigh the disadvantages, and I can't see that there'd be any noticable
performance hit from doing this?
--
Mark Rogers,
More Solutions Ltd :: Tel: 0845 45 89 555