Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Optimize Workers Sites Asset Manfest #897

Closed
ashleymichal opened this issue Nov 21, 2019 · 4 comments
Closed

Optimize Workers Sites Asset Manfest #897

ashleymichal opened this issue Nov 21, 2019 · 4 comments
Assignees
Labels
design feature Feature requests and suggestions sites

Comments

@ashleymichal
Copy link
Contributor

The user report in #896 reveals an issue with using Workers Sites with large-scale static sites; the user had a project with over 60k assets in it. The asset manifest wrangler generates in order to optimize cache invalidation on the edge is included in the overall bundle size for a worker script, and so can blow up the 1MB limitation when applied to such a large scale project. We should look at ways to optimize the asset manifest to increase the capacity for larger projects like this.

@SamuelPauloBarros
Copy link

Any development in this subject? I'm having the same problem as reported in #896 we also have around 70k files. I even tried to reduce the number of files to 48k and then to 24k and still run into the same problem, so far the only website I was able to host with wrangler publish was one with 2k files

Is there any work-around at least?

@stasb
Copy link

stasb commented Mar 5, 2020

I am having the same issue with a site containing 20,000 pages, of 500mb build folder size.

Reducing the pages to ~15,000 makes it work. Would be great if this can be fixed, as it looks to be a pretty big limitation with worker sites.

@EverlastingBugstopper
Copy link
Contributor

closing this because #1145 should help a lot with this problem and also we have some other more detailed issues such as #1151 #1004 #896

@ashleymichal
Copy link
Contributor Author

sgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
design feature Feature requests and suggestions sites
Projects
None yet
Development

No branches or pull requests

5 participants