We have had an issue with the size of images on the www.coops.tech site for a while (“Currently there is about 20mb of images downloaded on the homepage”), but in the past we didn’t have a solution:
However now we do, the dev copy of the CoTech site is now setup to serve SVG versions of images if they are available and if the client will accept them. Currently only the Webarchitects logo is a SVG. This is a 14k file rather than a 22k file which drops to 4.6k when compressed on the server before being served.
This is being done by referencing the image without an extension:
And having a .htaccess file to say that the SVG is preferred over the PNG and to GZ when serving it:
Options +MultiViews
AddType image/svg+xml;qs=0.9 svg sgvz
AddType image/png;qs=0.8 png
AddOutputFilter DEFLATE svg
Clients that don’t support SVG images should get the PNG version:
And ones that support SVG images should get this version:
If people have SVG versions of their co-op logo please either post them to this thread or the wiki page above and then ask in this thread for someone to add them to the git repo (or add then directly to the repo).
The other job, which will be quite time consuming, is to produce SVG versions of all the services logos, perhaps this site, which has a lot of Creative Commons licensed images available as SVGs could be used as a source for this.
I’m not sure we need SVG logos for the client and technologies logos since there are issues to delete technologies and delete clients.