[TYPO3-asia] How to Minify Js and CSS
Visay Keo
visay.keo at typo3.org
Fri Oct 17 18:39:59 CEST 2014
I think you can use:
config {
concatenateJs = 1
concatenateCss = 1
compressJs = 1
compressCss = 1
}
@see:
http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html
And of course, you can exclude specific file from compression/concatenation.
Example:
page {
includeJSFooterlibs {
jQuery = path-to-your/jquery.min.js
jQuery {
disableCompression = 1
excludeFromConcatenation = 1
}
}
}
Hope this helps,
Visay
On 16 តុលា 2014 22:00, Ramaraju Musku wrote:
> Hi All, I am new to typo3 can you help in minifying js and css in head
> element having multipule script files those are able to compress and
> making as one element but in body section I have some other script files
> those are not minifying and also in headder part some external files are
> loading along with minified js and css. For minifing I am using
> scriptmerger_4.0.5.t3x plugin even tho it is not working so, Please help
> me. Thanks in advance
--
TYPO3 .... Inspiring People To Share!
Participate: http://typo3.org/participate/
More information about the TYPO3-asia
mailing list