File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -640,10 +640,10 @@ which will automatically do most of these things for you:
640640 enable `auto minify `_ to further compress your assets (e.g. removing
641641 whitespace and comments from JavaScript and CSS files).
642642
643- - **Set long-lived Expires headers **: Your web server should set long-lived
644- ``Expires `` HTTP headers on your assets. Because the AssetMapper component includes a version
645- hash in the filename of each asset, you can safely set the `` Expires `` header
646- to a very long time in the future (e.g. 1 year). This isn't automatic in
643+ - **Set long-lived cache expiry **: Your web server should set a long-lived
644+ ``Cache-Control `` HTTP header on your assets. Because the AssetMapper component includes a version
645+ hash in the filename of each asset, you can safely set `` max-age ``
646+ to a very long time (e.g. 1 year). This isn't automatic in
647647 any web server, but can be easily enabled.
648648
649649Once you've done these things, you can use a tool like `Lighthouse `_ to
You can’t perform that action at this time.
0 commit comments