Gossamer Forum
Home : Products : Gossamer Links : Discussions :

compress option

Quote Reply
compress option
Hi,

can anyone tell me what the compress option actually does.

I would like my html view to be more structured so I figure with compress on this is why it all seems to be condensed.

Is this actually what it does, don't want to blow anything up by turning it off.

cheers,
kev

Cheers
KevM
Quote Reply
Re: [KevM] compress option In reply to
Yes, compress is condensing the html code.
You can safely turn it out.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [KevM] compress option In reply to
"Compress" just strips out newlines from the output. This makes the pages smaller, and also harder for people to copy.

However, if you ever need to track a problem down, then its not so much fun, as all of the code is squished up =)

The main reason for turning compression off though, is when sending emails. GT::Template doesn't compress automatically, which is a bonus when reading email templates, and sending them out. Otherwise, you get gargaged emails :D

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] compress option In reply to
Quote:
"Compress" just strips out newlines from the output.
A small note: strips out not just newlines, but also empty lines, most unnecessary spaces & some special cases.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] compress option In reply to
Hi,

thank you for your responses,

rgds
Kevin

Cheers
KevM