Fully working local cache! Hopefully