Cache assets (and also dump them)