Skip to content

Add caching for Paella SVG icons #1500

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

Merged
merged 1 commit into from
Jul 31, 2025

Conversation

LukasKalbertodt
Copy link
Member

I noticed that these icons are downloaded every time, which takes a lot of time. Not sure why we never did that before. I guess I assumed the paths are hardcoded deep inside Paella, but no: we can just replace them in theme.json.

@LukasKalbertodt LukasKalbertodt added the changelog:user User facing changes label Jul 28, 2025
@github-actions github-actions bot temporarily deployed to test-deployment-pr1500 July 28, 2025 10:05 Destroyed
Copy link
Member

@owi92 owi92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The settings icon is missing:
Bildschirmfoto 2025-07-30 um 11 22 25

Sadly, the `settings.svg` has to be treated in a special way. We could
have disabled caching+hashing for it, but that would also be ugly. So
I decided to just pass this one hashed file via frontend config.
@owi92 owi92 merged commit 5ebd98d into elan-ev:main Jul 31, 2025
4 checks passed
@LukasKalbertodt LukasKalbertodt deleted the cache-paella-icons branch July 31, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:user User facing changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants