Skip to content

Commit 179549d

Browse files
committed
add FAQ: images not cached
1 parent 23fa898 commit 179549d

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

Diff for: README.md

+26-2
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,26 @@ If they are in a subdirectory, say `_site/assets/images`, use
113113

114114
If your build fails with
115115

116-
```bash
116+
```log
117117
11:37:10 AM: Uncaught exception, the process will now terminate…
118118
11:37:10 AM: Error: Unable to deserialize cloned data due to invalid or unsupported version.
119119
11:37:10 AM: at parseChannelMessages (node:internal/child_process/serialization:97:20)
120120
11:37:10 AM: at parseChannelMessages.next (<anonymous>)
121121
11:37:10 AM: at Pipe.channel.onread (node:internal/child_process:619:18)
122122
```
123123

124-
The version of Node you're using is probably not supported by Netlify.
124+
or with
125+
126+
```log
127+
12:27:30 PM: ────────────────────────────────────────────────────────────────
128+
12:27:30 PM: Configuration error
129+
12:27:30 PM: ────────────────────────────────────────────────────────────────
130+
12:27:30 PM: ​
131+
12:27:30 PM: Error message
132+
12:27:30 PM: The Node.js version is 19.1.0 but the plugin "netlify-plugin-11ty" requires >=12.18.0 <18.0.0
133+
```
134+
135+
The version of Node you're using is not supported by Netlify.
125136

126137
Try setting Node version to 16.x
127138

@@ -137,6 +148,19 @@ More info about this error:
137148
See this guide for more ways to set Node versions:
138149
https://docs.netlify.com/configure-builds/manage-dependencies/
139150

151+
### Why are my images are not being cached?
152+
153+
If you have lot of images (several hundreds or more),
154+
your build might be timing out before the cache is saved.
155+
156+
If you see `Failed during stage 'building site': Command did not finish within the time limit`
157+
in your build logs, try requesting an upgraded build time limit.
158+
159+
See this thread for more details: https://answers.netlify.com/t/images-not-cached/78448/2
160+
161+
If your builds are failing for some other reason, please create a
162+
[new Issue](https://github.com/zeroby0/netlify-plugin-11ty/issues).
163+
140164
### Are there any Benchmarks?
141165

142166
Yes!

0 commit comments

Comments
 (0)