configure http and twig cache