Mentions plugin cache #1969
Labels
changelog:skip
A changelog entry should not be added for a given issue.
plugin:mentions
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
target:major
Any docs related issue that should be merged into a major branch.
type:feature
A feature request.
Milestone
Are you reporting a feature request or a bug?
Feature request
Provide detailed reproduction steps (if any)
Mentions responses should be cached.
Currently there's an issue that each typed character after initial mention match causes a HTTP query. That would result with a terrible performance.
Take this case as an example:
feed.json
file.Expected result
Mentions plugin caches the previous answers.
The cache should be implemented based on URL requested (ofc final url, meaning that it should consider template output). Also it is important to note that the cache should be shared globally across all of the instances.
Actual result
Each trigger causes a HTTP request. Here's inspector showing the requests:
Other details
The text was updated successfully, but these errors were encountered: