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

Cache: cache only specified request methods #494

Closed
krizhanovsky opened this issue May 22, 2016 · 2 comments
Closed

Cache: cache only specified request methods #494

krizhanovsky opened this issue May 22, 2016 · 2 comments
Assignees
Milestone

Comments

@krizhanovsky
Copy link
Contributor

krizhanovsky commented May 22, 2016

New configuration option cache_meth must be added. The option must accept space separated list of cacheable methods, e.g.

      cache_meth GET POST;

All methods, not listed in the configuration option, must not be cached. GET only must be cached by default. Tempesta must write through all non-cached methods, i.e. just proxy them w/o caching.

Please update README.md as well.

@krizhanovsky
Copy link
Contributor Author

POST requests as well as other non-safe/or unknown methods must be unchacheable. Cacheable POST is a topic for #506.

@keshonok
Copy link
Contributor

Implemented in b7845d2.

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

No branches or pull requests

2 participants