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

[Feature] Configurable max_size and inactive parameters for fastcgi cache #4340

Open
kerpotka opened this issue Mar 27, 2024 · 0 comments
Open
Labels
feature New feature or request

Comments

@kerpotka
Copy link

Describe the feature or change in detail

Currently hestia cp uses 512Mb max size and 30 minutes inactive time for nginx fastcgi cache:

str="$str keys_zone=$domain:10m max_size=512m inactive=30m use_temp_path=off;"

These hard coded values are not suitable for many use cases where the website has many pages and needs more than 512Mb of cache size, or the website has a low visitors count and pages are not accessed in a 30 minutes timeframe twice but still needs cache because of high page generation time.

I suggest allowing user to set these values along with fastcgi_cache_valid duration, which is already configurable in web domain UI.

Would you like to sponsor this feature to have it implemented?

No

@kerpotka kerpotka added the feature New feature or request label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant