We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Rule matches should compare parsed url instead of descriptor path
Here is what i have to do right now:
var manifest = { host: 'http://api', resources: { List: { byId: '/{resource_list}/{resource_id}/' } }, rules: [ { match: /resource_list/, values: { gateway: { cache: { ttl: 60 * 30 } } } } ] }
But i have 2 different resources list. It should be awsome if we hame something like this:
var manifest = { host: 'http://api', resources: { List: { byId: '/{resource_list}/{resource_id}/' } }, rules: [ { match: /watch_history/, values: { gateway: { cache: { ttl: 60 * 30 } } } }, { match: /favorites/, values: { gateway: { cache: { ttl: 60 * 120 } } } } ] }
The text was updated successfully, but these errors were encountered:
This is definitely wrong and should be fixed. Thanks!
Sorry, something went wrong.
0e959dc
No branches or pull requests
Rule matches should compare parsed url instead of descriptor path
Here is what i have to do right now:
But i have 2 different resources list.
It should be awsome if we hame something like this:
Here is what i have to do right now:
The text was updated successfully, but these errors were encountered: