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

Feat: skip caching response data #2

Open
jimmykodes opened this issue Jan 31, 2022 · 0 comments
Open

Feat: skip caching response data #2

jimmykodes opened this issue Jan 31, 2022 · 0 comments

Comments

@jimmykodes
Copy link
Owner

In the theoretical event that one or many response files are huge, we would be bloating memory by loading them each into a template and holding them in memory until access.
adding something like skip_cache: true to the yaml would cause the response templates to not be stored in memory between calls and instead loaded each time the route is called. This would cause the memory jumps to be short spikes rather than sustained load, which would be especially beneficial for many very large response files.

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