Adds caching to multipart form data.