Ignore Refresh flag

Qt uses Refresh flag very frequently. This decrease the cache
performance.