post(caddy-precompressed): warn about testing on browsers

This commit is contained in:
MDLeom 2020-11-13 23:02:37 +00:00
parent d9077aaf1c
commit 775566136c
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ header @svg Content-Type image/svg+xml
root * /home/user/www
```
I prepared a set of dummy files with most common file extensions ([download](https://gitlab.com/curben/blog/-/raw/site/20201112/dummy.zip)). This enables you to test whether Caddy serves the correct file. `.gz` and `.br` files are _not_ compressed files, they are text files so that you can easily identify the file being served.
I prepared a set of dummy files with most common file extensions ([download](https://gitlab.com/curben/blog/-/raw/site/20201112/dummy.zip)). This enables you to test whether Caddy serves the correct file. `.gz` and `.br` files are _not_ compressed files, they are text files so that you can easily identify the file being served. This also means you cannot test it on browsers since the files are not are not actually compressed (you'll get encoding error); also note that web browsers only send `Accept-Encoding: br` request header to HTTPS website.
Unzip the dummy.zip and specify the folder in the `root` directive. Following are some sample tests after you start Caddy: