[TYPO3] Tidy up page source
Tyler Kraft
headhunterxiii at yahoo.ca
Fri Feb 2 11:43:37 CET 2007
You can turn off the comments using page.config.disablePrefixComment=1
Regarding anchors - you could possibly rewrite large amounts of the
typoscript to not use numbers but something else, although I don't know
what you would use. But regarding not putting them in unless they were
linked to - well that would be hard to do I think and also be overly
taxing on the page generation (why have it do all kinds of php to check
if each content item is linked to anywhere if it doesn't need to). But I
guess the greater question is why - its not like they add huge amounts
to the page weight.
Just my 2cents
Benjamin Todd wrote:
> Hi again,
>
> Is it possible to instruct Typo3 to suppress generation of comments in
> the html source? Typo3 generates a lot of comments that make the source
> messy and the file larger.
>
> Also can T3 suppress the named anchors when they are not linked to? And
> can they be given meaningful names instead of numbers (the uid values I
> think they are)?
>
> Thanks in advance,
>
> Ben :)
More information about the TYPO3-english
mailing list