Hi! Thanks for the article. It is very helpful. I have 2 questions:
- How i can configure the middleware cache if my database model name is ‘posts’ but my routes aren’t /posts/:id and have a different route name, e.g /publications/:id
Because the names of objects in the code are in English but the routes in my case are in Spanish because of my target audience.
- This only works for the default routes created by Strapi? Because i create new endpoints with my own business logic and i replace the default routes in some cases. The cache will works in this cases?
thanks,
Alex