Put commenting in between two tags like this:
This will strip out the white space used by the commenting from being sent
to the browser (which is why you're seeing a performance degradation.) I
prefer to envelope my processing code in the same tags for the
same reason.
Sharon
At
It will probably depend on if you're using CF or standard HTML comments
(three dashes vs. two at beginning and end of comment) and if there are
blocks around the commented code also. If you
practice putting at the top of the document and at
the bottom, CF will have to look at every character.
I would assume that it would depend on your server settings. I would think
that once the page is turned into pcode, that the comments would all be
stripped out, and it would be the same as a non-commented file.
I'd try doing your tests again, but make sure you have some template cache
avail on t
3 matches
Mail list logo