-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Some ESI requests have you pass data via a payload instead of like a URL parameter. From what I can tell, the caching system at the moment is based on a fullURL
that is assembled here:
Since that method doesn't account for payload parameters, it can cause the caching to return results from previous queries even though the parameters have changed.
The most blatant case of this that I have encountered thus far is with the universe.bulk.idsToNames
endpoint as it takes an array of IDs as a payload. Making a second request before the cache times out causes it to return the previous results... which is incorrect.
Side note, my use case for this library is personal and I have explicit control over being respectful of ESI. So for my uses, I don't need a cache. As such I'm going to fork this library and modify it as needed for my own shenanigans. So this bug isn't a blocker for me personally, but I wanted to log it anyway.