More tweaks to data cache
- clear cache after module edit
- disable caching in edit mode