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

Assets are duplicated on multilingual sites #98

Open
illfygli opened this issue Nov 30, 2024 · 1 comment
Open

Assets are duplicated on multilingual sites #98

illfygli opened this issue Nov 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@illfygli
Copy link

When using zine.multilingualWebsite, it seems that assets are duplicated for each Site/output prefix.

This is reproduced on ziglang.org:

https://ziglang.org/ziggy.svg
https://ziglang.org/it-IT/ziggy.svg

That means that assets are loaded anew when switching languages, so it's a performance issue as well.

Thank you for Zine, it is great ♥

@kristoff-it kristoff-it added the enhancement New feature or request label Dec 2, 2024
@kristoff-it
Copy link
Owner

Zine should allow de-duplicating assets in multilingual sites, but currently does not. Actually implementing this enhancement requires thinking through the new output directory semantics and how to expose these knobs to the user.

I'm prioritizing other features at the moment but I will get back to this eventually.

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

No branches or pull requests

2 participants