Skip to content

feat: still upload manifest bundles as a zip and extract on server #70

@tellisnz

Description

@tellisnz

Current problem

We have a fair amount of statically exported next.js pages to upload as part of a delta update - the upload can take a fair old while doing the upload file by file:

◐ Uploading file (3524/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3525/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3526/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3527/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3528/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3529/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3530/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3531/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3532/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3533/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3534/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3535/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3536/3537)...                                                                                   9:36:31 AM
◐ Uploading file (3537/3537)...                                                                                   9:36:31 AM

Preferred solution

It might be more efficient to read the generated manifest, zip the referenced files, upload that, then have the server extract and validate?

Alternative options

No response

Additional context

Might be sort of related to capawesome-team/capacitor-plugins#310 depending on what was being considered there.

Before submitting

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions