Fix Twig permissions with cache