Add cache to configuration
Merge pull request #730 from romainneutron/configuration-cache

[3.8] Add cache to configuration