any way to make astro rebuilds even faster? #5

Open
opened 2024-05-18 16:27:25 +00:00 by 3wordchant · 3 comments
Owner
No description provided.
3wordchant added the
astro
label 2024-05-18 16:27:25 +00:00
Author
Owner

idea: incremental builds

idea: incremental builds
Owner

There's an experimental feature called Incremental Content Caching that can allegedly speed up builds by 80%. Enable it by adding the following to astro.config.mjs:

experimental: {
contentCollectionCache: true,
},

https://astro.build/blog/astro-4/#incremental-content-caching-experimental

There's an experimental feature called Incremental Content Caching that can allegedly speed up builds by 80%. Enable it by adding the following to astro.config.mjs: experimental: { contentCollectionCache: true, }, https://astro.build/blog/astro-4/#incremental-content-caching-experimental
Author
Owner

Do we know where Astro expects the cache to be stored? I guess if the cache is meant to persist between builds we will need to store it in Drone cache https://laszlo.cloud/the-ultimate-droneci-caching-guide

Do we know where Astro expects the cache to be stored? I guess if the cache is meant to persist between builds we will need to store it in Drone cache https://laszlo.cloud/the-ultimate-droneci-caching-guide
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: autonomic-cooperative/astro-payload-template#5
No description provided.