We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HI,
how can i exclude .svg files from beeing processed to .webp?
The text was updated successfully, but these errors were encountered:
Hi,
Have you sure that your Apache or nginx configuration is properly set up ?
If you've used the configuration in the only jpeg, png and gif files should be processed
Here's the configuration for Apache:
RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{REQUEST_FILENAME} (.*)\.(?i:png|gif|jpe?g)$ RewriteCond %{REQUEST_FILENAME}\.webp -f RewriteRule ^ %{REQUEST_FILENAME}\.webp [L,T=image/webp] <IfModule mod_headers.c> <FilesMatch "\.(png|gif|jpe?g)$"> Header append Vary Accept </FilesMatch> </IfModule>
I hope it can help you
Sorry, something went wrong.
No branches or pull requests
HI,
how can i exclude .svg files from beeing processed to .webp?
The text was updated successfully, but these errors were encountered: