Mark stream as writable straight away
Change the way cached resources work, to avoid problem with includes
Add caching test