Answer the question
In order to leave comments, you need to log in
Symfony - execute request once and save it somehow?
Good Friday evening!
There is a question:
When authorizing, I get a list of tags and other little things that do not change for weeks.
Those. I have a renderView with tags, and when visiting any page of the site, the query to the database and the generation of tags is constantly happening. Work in real time.
I would like to somehow generate them once and not touch them anymore.
It is necessary to somehow cache this thing, or somehow else.
Tell me plz.
Answer the question
In order to leave comments, you need to log in
well, here is the standard, push everything into redis, with a thaumout for example a week.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question