Better tests for loaded to cache.
Better limit setting.
Flush before using.
Merge branch 'develop'