Add ability to invalidate cached resource data
Remove debug mode