Fix Ox.Request.clearCache #2502

Open
opened 2014-10-01 13:29:53 +00:00 by rlx · 0 comments
Owner

Currently, clearCache takes query, and removes every cache key that contains query.

This means clearCache('get') will clear 'getUser' too, or anything else with 'get' as substring.

This is probably not intentional. clearCache should take a string, or an array of strings.

Also, Ox.Request methods should return Ox.Request, for chaining.

Currently, clearCache takes query, and removes every cache key that contains query. This means clearCache('get') will clear 'getUser' too, or anything else with 'get' as substring. This is probably not intentional. clearCache should take a string, or an array of strings. Also, Ox.Request methods should return Ox.Request, for chaining.
rlx added the
oxjs
label 2014-10-01 13:29:53 +00:00
rlx added this to the 14.04 milestone 2014-10-01 13:29:53 +00:00
rlx self-assigned this 2014-10-01 13:29:53 +00:00
rlx added the
major
defect
labels 2014-10-01 13:29:53 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#2502
No description provided.