Initial offline caching EXPERIMENTAL
More cache fixes. TODO: fix profile picture