Depending on the browser you're using, it could be automatically clearing the cache after you don't touch it for a certain amount of time, or there could just be a weird setting in your browser making it clear