25 Aug 09:45
Re: Removing white space in templates?
From: Peter De Berdt <peter.de.berdt@...>
Subject: Re: Removing white space in templates?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2006-08-25 07:45:23 GMT
Subject: Re: Removing white space in templates?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2006-08-25 07:45:23 GMT
On 24 Aug 2006, at 19:45, Ben Johnson wrote:
Is there something similar to this in the rhtml templates?The reason I ask is because I render some templates in my RJS files. Theless white space there is, the smaller the size of javascript the clienthas to download.
Why not let your webserver handle this with mod_deflate? Whitespace compresses very well and you don't have to sacrifice readability of your html.
Best regards
Peter De Berdt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---
RSS Feed