Add caching methods
Update resize method to cache instead of using the experimental functionality
Add load method
Switch resize method to private
Add ROOT_CACHE constant to config