SeNioR- Posted Saturday at 08:46 PM Posted Saturday at 08:46 PM Is there any reason not to use a newer and lighter format like avif, webP or even SVG for various icons like: applications/core/interface/logos/browsers/Edge.png static/resources/core_default_photo.png static/resources/core_upload.png static/resources/core_message.png static/resources/core_notification.png Not that I'm nitpicking, but why not add a default avatar in SVG? That's always one less resource to load.
Management Matt Posted 16 hours ago Management Posted 16 hours ago From a Cloud perspective, our CDN optimises the images so it's not really a concern. We don't really use many images now, but those listed are generally around 1kb as-is. SeNioR- 1
SeNioR- Posted 9 hours ago Author Posted 9 hours ago (edited) That's right, but the fewer images the better, so why not go completely modern? I think that browser icons in settings can be easily added as SVG, the same with the default avatar - especially since in IC5 you can no longer edit it to your own. The default avatar is displayed in many places, I know it weighs little but it is still a resource that loads, and if it were in SVG, there would always be fewer warnings in PageSpeed and a few milliseconds less page loading time 🙂 Edited 9 hours ago by SeNioR-
Recommended Posts