Cache debug & production settings independently