quartz
quartz copied to clipboard
Link Bomb In Explorer When Number of Notes is Large
Thanks for this great project!
Is your feature request related to a problem? Please describe.
A simple comparison between explorer enabled and disabled:
bash -c "du -sh ./public"
407M ./public
bash -c "du -sh ./public"
99M ./public
A quick look reveals that each of the generated page contains all the links in the explorer. I have more than 1k notes. Is there any way to prevent this or reduce the size?
Describe the solution you'd like I know it might be too much for a static site generator, but I am all ears for any solutions, including the ones on how I should structure notes/blogs instead.
Describe alternatives you've considered Disable the explorer would significantly reduce the size, but it makes the site less navigable.
Additional context I can provide links to my blob/repo if needed (or you can just go to my profile). I don't want to include it here to attract the wrong bots.
Hm we can probably have an option to lazily fetch explorer content @benschlegel wdyt? I remember we talked about this at some point haha
Hmmm definitively sounds possible in theory, but probably would require some testing to see if/how easy it is to implement this, cool idea for sure!