Configuring Brotli For Your Site
If you want to access Brotli, you’ll need to make sure your site is using HTTPS (SSL). Brotli only works with secure connections, so be sure to get your SSL certificate set up first. Once enabled, these are the default settings for Brotli you will get :Verifying if Brotli is Working on Your Website
To ensure Brotli is working on your site, you can use various online tools to test your website’s compression. One of the simplest ways to verify is by using the Gift of Speed Gzip test tool, which also checks Brotli compression. Here’s how you can verify if Brotli is enabled:- Go to Gift of Speed Gzip Test.
- Enter your website URL and click “Test Your Site.”
- Once the test is complete, look at the Content-Encoding header in the response.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.If Brotli is working correctly, you should see br listed as the encoding method. For example: Content-Encoding: br If you see gzip or deflate, it means Brotli is not enabled or being used. If br is present, you know that Brotli is successfully compressing your assets.
Verifying Brotli Using Command Line
Alternatively, you can verify if Brotli is working using the command line with curl. Here are some commands to help you check for Brotli or Gzip compression:- Check for Gzip CompressionRun the following command to see if Gzip is enabled:
- Check for Brotli CompressionRun the following command to see if Brotli is enabled:
- Content-Encoding: br
- Check for Both (Gzip and Brotli) at OnceIf you want to check for both compression types, run:
- Check for Compression with Full RequestIf you want to view the full response headers, use this command:
