mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
8679954bf6
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
29 lines
863 B
Markdown
29 lines
863 B
Markdown
---
|
|
'astro': minor
|
|
---
|
|
|
|
Removes the experimental `contentCollectionsCache` introduced in `3.5.0`.
|
|
|
|
Astro Content Layer API independently solves some of the caching and performance issues with legacy content collections that this strategy attempted to address. This feature has been replaced with continued work on improvements to the content layer. If you were using this experimental feature, you must now remove the flag from your Astro config as it no longer exists:
|
|
|
|
```diff
|
|
export default defineConfig({
|
|
experimental: {
|
|
- contentCollectionsCache: true
|
|
}
|
|
})
|
|
```
|
|
|
|
The `cacheManifest` boolean argument is no longer passed to the `astro:build:done` integration hook:
|
|
|
|
```diff
|
|
const integration = {
|
|
name: "my-integration",
|
|
hooks: {
|
|
"astro:build:done": ({
|
|
- cacheManifest,
|
|
logger
|
|
}) => {}
|
|
}
|
|
}
|
|
```
|