TYPO3CMS-Reference-CoreApi icon indicating copy to clipboard operation
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)

Open sypets opened this issue 3 years ago • 0 comments

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.)

sypets avatar Aug 01 '22 13:08 sypets