Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic cache clearing only works once #824

Closed
ChristophKna opened this issue May 31, 2024 · 1 comment
Closed

Automatic cache clearing only works once #824

ChristophKna opened this issue May 31, 2024 · 1 comment

Comments

@ChristophKna
Copy link

ChristophKna commented May 31, 2024

I am using the storyblok astro client.

When using the following cache configuration in the astro.config.mjs
cache: { type: 'memory', clear: 'auto' }
, the reset of the cache only works once after a server restart. The server must be restarted to get the latest changes from the cdn.

Expected Behavior

The reset of the cache should happen more than once.

Current Behavior

The reset works only once after the server start.

Steps to Reproduce

  1. create an astro project with the storyblok astro client (I guess any other client has the same problem as they are using this underlying lib)
@ChristophKna
Copy link
Author

It's essentially the same as #806. So I am closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant