mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[docs] updates link in Content Layer API (#11706)
This commit is contained in:
parent
df78c79ea0
commit
69a7a5f132
1 changed files with 1 additions and 1 deletions
|
@ -2220,7 +2220,7 @@ export interface AstroUserConfig {
|
|||
*
|
||||
* The Content Layer API is a new way to handle content and data in Astro. It is similar to and builds upon [content collections](/en/guides/content-collections/), taking them beyond local files in `src/content/` and allowing you to fetch content from anywhere, including remote APIs, by adding a `loader` to your collection.
|
||||
*
|
||||
* Your existing content collections can be [migrated to the Content Layer API](#migrating-a-content-collection-to-content-layer) with a few small changes. However, it is not necessary to update all your collections at once to add a new collection powered by the Content Layer API. You may have collections using both the existing and new APIs defined in `src/content/config.ts` at the same time.
|
||||
* Your existing content collections can be [migrated to the Content Layer API](#migrating-an-existing-content-collection-to-use-the-content-layer-api) with a few small changes. However, it is not necessary to update all your collections at once to add a new collection powered by the Content Layer API. You may have collections using both the existing and new APIs defined in `src/content/config.ts` at the same time.
|
||||
*
|
||||
* The Content Layer API is designed to be more powerful and more performant, helping sites scale to thousands of pages. Data is cached between builds and updated incrementally. Markdown parsing is also 5-10 times faster, with similar scale reductions in memory, and MDX is 2-3 times faster.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue