Better path caching for Symfony projects