You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/index.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,16 @@ module.exports = {
89
89
};
90
90
```
91
91
92
+
:::
93
+
94
+
::: info
95
+
When providing a relative path, it will be resolved from the root of your project.
96
+
:::
97
+
98
+
::: tip
99
+
Don't forget to add `.image-cache` to your `.gitignore` file.
100
+
:::
101
+
92
102
### `maxAge`
93
103
94
104
You can set the `Cache-Control` HTTP response header to improve the load performance. It's a good practice cache static resources using HTTP caching. [See more here](https://developer.chrome.com/docs/lighthouse/performance/uses-long-cache-ttl)
@@ -108,13 +118,3 @@ module.exports = {
108
118
// ...
109
119
};
110
120
```
111
-
112
-
:::
113
-
114
-
::: info
115
-
When providing a relative path, it will be resolved from the root of your project.
116
-
:::
117
-
118
-
::: tip
119
-
Don't forget to add `.image-cache` to your `.gitignore` file.
0 commit comments