HTML Compressor
HTML Compressor
Compress the HTML, generating smaller pages and saving a few kbytes, should be optional
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: HTML Compressor
It's in 1.4
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: HTML Compressor
if you're just talking about removing whitespace and extra lines, there's a couple smarty ways to do that in your templates..
see http://www.smarty.net/docs.php
if you're talking about gzip compression of the html output, there's a quick mod to index.php that'll do that..
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler");
else ob_start();
// original line below:
# ob_start();
see http://www.smarty.net/docs.php
if you're talking about gzip compression of the html output, there's a quick mod to index.php that'll do that..
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler");
else ob_start();
// original line below:
# ob_start();
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: HTML Compressor
great, ty guys!
MODs are great, but i do prefer native features.
kermit, by the way.. full page caching is great!
MODs are great, but i do prefer native features.
kermit, by the way.. full page caching is great!
Re: HTML Compressor
HTTP compression is a native webserver feature. No need to reimplement it whatever the CMS behind.
Pierre M.
Pierre M.
Re: HTML Compressor
not always enabled on shared servers......Pierre M. wrote: HTTP compression is a native webserver feature. No need to reimplement it whatever the CMS behind.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: HTML Compressor
There's a (very old) module in SVN - not sure if it works with current versionsviebig wrote: Compress the HTML, generating smaller pages and saving a few kbytes, should be optional
http://dev.cmsmadesimple.org/projects/codemangler/
Last edited by cyberman on Wed Jul 02, 2008 6:38 am, edited 1 time in total.
Re: HTML Compressor
I dont see any files there!cyberman wrote:There's a (very old) module in SVN - not sure if it works with current versionsviebig wrote: Compress the HTML, generating smaller pages and saving a few kbytes, should be optional
http://dev.cmsmadesimple.org/projects/codemangler/