mercredi 8 avril 2015

detect browser support for lossless webp images in server side

I m detecting webp support in browsers by looking for 'image/webp' in HTTP ACCEPT header.


Since i am using lossless webp images alone in my site i am worried about whether the server will detects some of lossy webp image only supported browsers also.


I knew about the JS solution.I want detection support specifically in server side.


Aucun commentaire:

Enregistrer un commentaire