0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/packages
Matthew Phillips 6313277137
Invalidate CC cache manifest when lockfile or config changes (#10763)
* Invalidate CC cache manifest when lockfile or config changes

* Close the handle and increment manifest version

* debug info

* Provide a reason for cache busting

* Handle compile metadata missing

* Try it this way

* Copy over cached assets as well

* Only restore chunks when cache is valid

* Better handle invalid caches

* Explain when there is no content manifest

* Add tests

* debugging

* Remove debugging

* Update packages/astro/src/core/build/plugins/plugin-content.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update packages/astro/src/core/build/plugins/plugin-content.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Review comments

* Add chunks path constant

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-04-18 11:23:05 -04:00
..
astro Invalidate CC cache manifest when lockfile or config changes (#10763) 2024-04-18 11:23:05 -04:00
astro-prism [ci] release (#10739) 2024-04-11 13:24:47 +02:00
astro-rss chore: use Biome to format JS files (#10788) 2024-04-17 09:37:22 +01:00
create-astro [ci] format 2024-04-17 08:38:53 +00:00
db [ci] format 2024-04-17 08:38:53 +00:00
integrations [ci] format 2024-04-18 07:10:24 +00:00
internal-helpers [ci] release (#10597) 2024-03-28 14:09:23 -04:00
markdown/remark [ci] format 2024-04-17 08:38:53 +00:00
telemetry [ci] format 2024-04-17 08:38:53 +00:00
underscore-redirects
upgrade chore: use Biome to format JS files (#10788) 2024-04-17 09:37:22 +01:00