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

ReSTful Cache Plugin #183

Open
yjaaidi opened this issue Nov 24, 2020 · 0 comments
Open

ReSTful Cache Plugin #183

yjaaidi opened this issue Nov 24, 2020 · 0 comments
Labels

Comments

@yjaaidi
Copy link
Member

yjaaidi commented Nov 24, 2020

A specific cache plugin for ReSTful API, probably based on the current cache plugin could improve caching by understanding the semantics of the API.

Here are some examples:

GET /items => {items: [{id: '123', name: 'demo'}]}
GET /items/123 => cache hit => {id: '123', name: 'demo'}
(PATCH|PUT) /items/123  {name: 'updated demo'} => {id: '123', name: 'updated demo'} => update item in storage using response
GET /items => {items: [{id: '123', name: 'updated demo'}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant