Added documentation on caching behaviors, fixed #1