Layer size optimization by clearing apt cache