Remove and compress resources