4 ms·
This is what the accept header is for. Browsers should implement whatever they feel is best for performance, security, maintainability, etc. Then the server sho
by kogir 10y ago
This is what the accept header is for. Browsers should implement whatever they feel is best for performance, security, maintainability, etc. Then the server should look at the accept header for a resource and serve a format the client can understand.
Imgix offers this as "Automatic Content Negotiation": https://docs.imgix.com/tutorials/improved-compression-auto-content-negotiation https://docs.imgix.com/tutorials/improved-compression-auto-c...