I have a homepage that is very render heavy and it takes around 3 seconds to render the homepage. It is associated to an entry.
My question is, is it possible to take the rendered twig string and cache it to redis to be used on any subsequent requests?
I took a look at the source code, and it seems that for frontend (entry) routes, TemplateController is called. I would like to override this and make it so that my own controller is called.
I tried creating a module and overriding this in routes.php but that did not work.