I have a rhtml file that uses some ruby code inside,
there are not too ruby codes, but it repeats itself
thousands of time. I find out each time when the ruby
code execute, it will produce the html code correctly.
But the produced html will conseved the “format” of
the rhtml, and it adds a lot no used white space!!!
example : toto.rhtml
|<%= y %>|
|<%= z %>|
So if data has 3000 rolls, I will have a html like
I have a lot of white space and each white space is
8byte, so my html file has almost 6meg instead of 2.5
meg (without white space)
Can someone know how shoulf I remove all the white
Thanks you very much
The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around