File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -629,12 +629,14 @@ which will automatically do most of these things for you:
629
629
630
630
- **Use HTTP/2 **: Your web server should be running HTTP/2 (or HTTP/3) so the
631
631
browser can download assets in parallel. HTTP/2 is automatically enabled in Caddy
632
- and can be activated in Nginx and Apache.
632
+ and can be activated in Nginx and Apache. Or, proxy your site through a
633
+ service like Cloudflare, which will automatically enable HTTP/2 for you.
633
634
634
635
- **Compress your assets **: Your web server should compress (e.g. using gzip)
635
636
your assets (JavaScript, CSS, images) before sending them to the browser. This
636
637
is automatically enabled in Caddy and can be activated in Nginx and Apache.
637
- In Cloudflare, you can also
638
+ Or, proxy your site through a service like Cloudflare, which will
639
+ automatically compress your assets for you. In Cloudflare, you can also
638
640
enable `auto minify `_ to further compress your assets (e.g. removing
639
641
whitespace and comments from JavaScript and CSS files).
640
642
You can’t perform that action at this time.
0 commit comments