Cache cabal settings when possible