Twig cache forever, how do i do it?
Created 6 years ago by williamIf i want to cache forever with twig, how do i do it?
Ps, no Piterden.. i don't want to add 100 years in minutes!
william
—
6 years ago
I solved it @ryanthompson and @piterden ! This is how we can do it 😄
piterden
—
6 years ago
ryanthompson
—
6 years ago
Ya I don't have a forever option.. forever is kinda meh if you ask me - it's basically the same as 9999
in my book. Which is what I use rather than another method.
ryanthompson
—
6 years ago
And you can cache for an eternity (which is longer than forever?) by using 99999
.. and an eon after that.. you get the gist.
Don't play with it!!!