TYPO3CMS-Reference-CoreApi
TYPO3CMS-Reference-CoreApi copied to clipboard
Make it more clear how the different ways to use assets work and what the affect will be (AssetCollector)
https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Assets/Index.html
Suggestion:
- give a more thorough introduction in general comparing different ways to include assets and what goes on under the hood
- compare ways to include assets and what are the effects
- compress
- minify
- merge (into 1 file)
- serve assets only where needed, e.g. universal (entire site), for specific content
- possibly give recommendation (e.g. rule of thumb: use AssetCollector if utilizing HTTP/2, TypoScript otherwise)
AssetCollector is introduced but unless HTTP/2 is actually utilized this may not be the best option. (Meaning if we are not using HTTP/2 the number of requests does matter in which case splitting up the assets into individual files may not be the best option.)