invalidating cache when settings change.