Re: [SMARTY] HTML cruncher & protection
| From: | Robert Cummings | Date: | Sat, 19 Jun 2004 02:00:12 +0000 |
| Subject: | Re: [SMARTY] HTML cruncher & protection | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11478@lists.php.net to get a copy of this message | ||
On Fri, 2004-06-18 at 20:07, Sam Saltis wrote:
> Does anyone have a script that allows you to crunch smarty pages (removing
> all necessary spaces, carriage returns and line breaks) making the page a
> single string. Helping make the page hard to read and secondly faster to
> load?
While it may make the page a teency bit faster any half decent HTML
parser will be able to easily parse it all back into a very readable
tree.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'