First of all as Rasmus said, this 'compression' is barely(if at all)
going to make a difference, after your pages have been compressed wth
gzip,
There are two reasons for this:
1 compression techniques detect repeated strings(such as spaces or
newlines), and replaces them with one instance of
Rory Browne wrote:
First of all as Rasmus said, this 'compression' is barely(if at all)
going to make a difference, after your pages have been compressed wth
gzip,
There are two reasons for this:
1 compression techniques detect repeated strings(such as spaces or
newlines), and replaces them with
On 5/7/05, M. Sokolewicz [EMAIL PROTECTED] wrote:
Rory Browne wrote:
First of all as Rasmus said, this 'compression' is barely(if at all)
going to make a difference, after your pages have been compressed wth
gzip,
There are two reasons for this:
1 compression techniques detect
On 5/7/05, M. Sokolewicz [EMAIL PROTECTED] wrote:
Rory Browne wrote:
First of all as Rasmus said, this 'compression' is barely(if at all)
going to make a difference, after your pages have been compressed wth
gzip,
There are two reasons for this:
1 compression techniques detect
M. Sokolewicz wrote:
Rory Browne wrote:
What might be more useful is stripping out comments, If you don't use
javascript it is simply a case of replacing all !-- anything -- with
a blank space. If you do though it's more complicated since it is
considered good practice to place js inside !--
excuse me? since when is this considered /good/ practice???
It's one of those things that are concidered /bad/ practice according to
w3...
Hmmm, didn't know the w3c had an opinion on the usage of !-- //--
tags to delimit javascript. I've always been recommended to use them,
to hide the script
Besides, whether or not it's considered good practice to comment out
js to non-js-capable browsers, a lot of people do it.
And for the record, I wouldn't condone the removal of comments from
code that someone may need to read sometime. HTML outputted from php
is generally however only meant for
Seems I'm going a bit too far here :)
The URL quotes which states to denote JS between !-- -- comment tags
is from the HTML 4.0 page. I've been reading lots of XHTML
recommendations lately, and have become accustomed to those. In those,
when a script isn't understood, it's ignored. Besides that
8 matches
Mail list logo