On Fri, Oct 07, 2022 at 02:00:44PM +0200, Martin Wolfert wrote:
Hi there,
> i found the issue!
Good stuff!
> Solution: When enabling the webp caching compatibility in WP Rocket
> (WordPress plugin), the nginx rules / config could not work. Because WP
> Rocket adds ".webp" as suffix to all .jpg
Hi,
i found the issue!
Solution: When enabling the webp caching compatibility in WP Rocket
(WordPress plugin), the nginx rules / config could not work. Because WP
Rocket adds ".webp" as suffix to all .jpg images. So having the suffix
set to bla.jpg.webp, the Nginx location ( /location ~ \.(jp
Hi,
well, i would say thet using curl, delivering avif works:
Downloading the jpg without headers gives back another filesize as with
given webp and avif headers.
So ... yes, also my configuration seams to work with curl.
Why browsers who should support avif only serve webpand not avif (e.g.
On Thu, Oct 06, 2022 at 02:30:08PM +0200, Martin Wolfert wrote:
Hi there,
> In "/var/www/htdocs/blog.lichttraeumer.de/wp-content/uploads/2022/05" i have
> located .jpg, .webp and .avif files:
Thanks for the details.
Both ideas seem to work for me, when testing with curl:
===
$ cat /etc/nginx/c
18 schrieb Francis Daly:
On Wed, Sep 28, 2022 at 10:49:15AM +0200, Martin Wolfert wrote:
Hi there,
i want to use new image files. That means: first serve (if available) avif,
than webp and lastly jpg images.
location ~* ^/wp-content/.*/.*/.*\.(png|jpg)$ {
add_header Vary A
Vary Accept;
> try_files $uri$img_ext $uri =404;
> }
> Unfortunately ... Nginx does not serve avif files, if available. Tested it
> with the newest Chrome Versions.
>
> Anyone any idea where my error is located?
When you make the request for /dir/thing.png, do
}
mime.types:
...
image/webp webp;
image/avif avif;
image/avif-sequence avifs;
Unfortunately ... Nginx does not serve avif files, if available. Tested
it with the ne