Inefficient caching of API requests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LongURL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Although full-page caching makes a noticeable difference on the LongURL website pages, it is an inefficient way to store API responses.
Currently, because items are cached by the request URL, API responses are likely to be stored in many different response formats and duplicated because of differences in argument ordering etc., while the underlying response data does not change.
For example, these six requests will be stored as six different items in the cache, while the data is the same:
http://
http://
http://
http://
http://
http://
The ideal solution will allow both for full-page caches of the website pages, and object caches of API requests.
Changed in longurl: | |
status: | New → Fix Released |