I am building an API for mobile frontend which has a search feature. Users search for articles. The back-end already has a keywords stored in Mysql. What would be the best strategy for caching so as to minimize the turnaround time.
Currently, I follow these steps:
LIKE
(Cache for m
minutes)Order by Popularity
Does Laravel cache results based on query skeleton or complete query with parameters?