Skip to content

Commit b3534c7

Browse files
committed
Revert some changes
1 parent 6e0096f commit b3534c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

frontend/asset_mapper.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,12 +629,14 @@ which will automatically do most of these things for you:
629629

630630
- **Use HTTP/2**: Your web server should be running HTTP/2 (or HTTP/3) so the
631631
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.
633634

634635
- **Compress your assets**: Your web server should compress (e.g. using gzip)
635636
your assets (JavaScript, CSS, images) before sending them to the browser. This
636637
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
638640
enable `auto minify`_ to further compress your assets (e.g. removing
639641
whitespace and comments from JavaScript and CSS files).
640642

0 commit comments

Comments
 (0)