Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure max build file number #641

Open
anoop-b opened this issue Jun 25, 2024 · 2 comments
Open

Configure max build file number #641

anoop-b opened this issue Jun 25, 2024 · 2 comments

Comments

@anoop-b
Copy link

anoop-b commented Jun 25, 2024

Hitting a max limit on the number of build files (20000) on cloudflare pages.

Is there a way to configure the number of generated files?

Alternatively I'd like to explore a way to upload the generated assets to r2 or other other destinations if possible.

@bglw
Copy link
Contributor

bglw commented Jun 25, 2024

The best issue to follow for this would be #74 — though there isn't work underway on that yet.

There shouldn't be a barrier to uploading Pagefind's files to another destination. You'd just need to run Pagefind, upload those files, and then remove the index from disk before finishing so Cloudflare Pages doesn't encounter them.

@forbidden-lab
Copy link

forbidden-lab commented Jul 15, 2024

for fragment hosted on R2 upload is real slow. 9934 fragments around 3MB in total size. Upload take 25 minutes.

rclone copy dist/pagefind/fragment forbidden-lab:fragment --progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants