[TYPO3-core] RFC: minify JavaScript
Dmitry Dulepov [typo3]
dmitry at typo3.org
Tue Sep 18 11:03:46 CEST 2007
Hi!
Martin Kutschker wrote:
> I didn't give a +1 as the discussion went on. Generally I'm vor adding
> JSmin into contrib/ and making it available via API call for BE and
> possibly FE code.
I did that. Minification is available as t3lib_div::minifyJS($jsCode) call. So we can replace implementation or just return string as is if we have to. The patch also uses minifaction for FE scripts. Later I plan to post patches for BE. I am not doing it now because:
- Stucky "hates" many issues in one patch ;)
- change is serious enough to place too many locations into it
Do you think that part of the patch responsible for FE may have problems? I tired it in various browsers, seems to be working fine.
--
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
More information about the TYPO3-team-core
mailing list