Open infabo opened 4 years ago
That would be awesome.
Good idea! Would support for TYPO3 9 be important for you?
With TYPO3 10 the new AssetCollector could be used to collect the media files that should be preloaded: https://github.com/TYPO3/TYPO3.CMS/blob/2d6ed648ab87185e34eaa0c61c958840396584a1/typo3/sysext/core/Classes/Page/AssetCollector.php#L159
I would not drop support for v9 right now.
I wouldn‘t want to drop support entirely, but new features could be v10 only if it made sense and made things easier.
Idea:
Add a
preload
-parameter tos:image
viewhelper. If set, alink
-header to preload the image is sent to the client. Idea: https://addyosmani.com/blog/preload-hero-images/link
header(s) for each registered image in a dedicated middleware