Welcome Guest, Not a member yet? Register   Sign In
output cache and webp
#2

(This post was last modified: 05-02-2020, 02:49 AM by jreklund.)

Personally I would look into the <picture> html tag and include both webp and jpeg.
https://www.w3schools.com/tags/tag_picture.asp

Right know you are getting the device browser tag and serv images based on that?

Code:
<picture>
    <source srcset="/photo/image.webp" type="image/webp">
    <img src="/photo/image.jpg" alt="">
</picture>
Reply


Messages In This Thread
output cache and webp - by loxi_kal - 05-02-2020, 01:00 AM
RE: output cache and webp - by jreklund - 05-02-2020, 02:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB