CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.22k stars 97 forks source link

Configure max build file number #641

Open anoop-b opened 1 week ago

anoop-b commented 1 week ago

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 commented 1 week ago

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.