It seems that you're using URL as cache key, right? Things to be considered:
are the URL-s public? I.e circumstances changes when the URL-s are behind authentication because then you cannot send back the same responses to all users etc.
do all the parameters come in via URL? Are there any headers or anything that may differ between requests? Should these be considered?
Both of these considerations depend upon one's own project and what routes they want to cache. This example works best for data that only dependents on the URL and not any context like current user.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It seems that you're using URL as cache key, right? Things to be considered:
What's your cache backend?
Both of these considerations depend upon one's own project and what routes they want to cache. This example works best for data that only dependents on the URL and not any context like current user.