Ok. Banging my head against the wall here trying to figure out how to progressively optimize images. Got questions about WebP, fallbacks, and more. A thread...
-
-
I’ve got digging into Glide on my list for improving my statamic site performance. Though even out of the box it scored way better than my WP site ever did
Dziękujemy. Twitter skorzysta z tych informacji, aby Twoja oś czasu bardziej Ci odpowiadała. CofnijCofnij
-
-
-
So two things to look at: 1. srcset attribute (groups of image srcs that work like media queries in css) 2. something like Imgix (I guess Glide is similar) where passing size params in the src resizes the actual images on the fly

-
And this might be useful for you https://scottjehl.github.io/picturefill/
Koniec rozmowy
Nowa rozmowa -
-
-
Yes, exactly, with Glide images are generated on the fly. It works a lot like Imgix or Cloudinary, without the monthly costs. Of course, it's not nearly as advanced as those services. As an example, try editing the parameters (ie. width) in this link: https://glide.herokuapp.com/1.0/kayaks.jpg?w=1000&gam=.9&sharp=8 …
-
Glide can be used to generate responsive images on-the-fly, but it doesn't automatically do this for you. You'd have to specify the different images sizes you want at the different breakpoints (ie. using <picture> or the <img> srcset attribute).
- Pokaż odpowiedzi
Nowa rozmowa -
Wydaje się, że ładowanie zajmuje dużo czasu.
Twitter jest przeciążony lub wystąpił chwilowy problem. Spróbuj ponownie lub sprawdź status Twittera, aby uzyskać więcej informacji.
building