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

Limit memory usage for sidekick cache #34

Open
Seriyyy95 opened this issue Oct 15, 2024 · 1 comment
Open

Limit memory usage for sidekick cache #34

Seriyyy95 opened this issue Oct 15, 2024 · 1 comment

Comments

@Seriyyy95
Copy link

Hi.

Am I understand correctly, that Sidekick cache uses cache location on disk as backup between reloads but all cached data is placed in memory?

For sites with limited resources (e.g. small VPS) that may be a problem because there Caddy may consume all memory that needed for another processes.

It would be a great to have ability to limit memory amount that can be used for caching purposes or at least number of pages that can exist in the cache in the same time.

@kmott
Copy link

kmott commented Dec 26, 2024

I believe this can be controlled by the php.ini option opcache.memory_consumption ?

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

2 participants