Issue Bug Closed

#57365Page cache information displayed also displayed for json typeNum pages, if [FE][debug] is set

Andreas Allacher 03/27/14, 10:29 updated 10/02/18, 11:58

Description

Hi,

I just noticed that if you have TYPO3_GLOBAL_VARS[‘FE’][‘debug’] set you always get the page cache generation displayed at the end via HTML comment.

However, if I build a json array via that typeNum that creates troubles.
Maybe it would be better to prefer the page config.debug setting, if it is set (so I can overwrite it in the typeNum page – maybe only if typeNum > 0) or create a different setting to disable it.

Reviews 1