Working cache
Added option.streaming to example

Refactored
updated comments