Rewrote settings cache.