Twig cache forever, how do i do it?

william - 2 weeks ago

If 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!

piterden - 2 weeks ago

Don't play with it!!!

william - 2 weeks ago

I solved it @ryanthompson and @piterden ! This is how we can do it :)

Cache twig for life (probably) in 2017

piterden - 2 weeks ago

https://ibb.co/dfQOXb

ryanthompson - 2 weeks 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 - 2 weeks 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.