Skip to content

Comments

Add note about caching icons in production#31

Merged
swapnilsarwe merged 1 commit intocodeat3:mainfrom
jxxe:patch-1
May 27, 2025
Merged

Add note about caching icons in production#31
swapnilsarwe merged 1 commit intocodeat3:mainfrom
jxxe:patch-1

Conversation

@jxxe
Copy link
Contributor

@jxxe jxxe commented May 22, 2025

I didn't realize the difference caching the icons would make. I think it would be worth mentioning in the README.

In a large Livewire app that uses a lot of icons, it shaved ~300 milliseconds off each request.

@swapnilsarwe
Copy link
Contributor

Its mentioned in the README.md already about the caching.

Blade Phosphor Icons uses Blade Icons under the hood. Please refer to the Blade Icons readme for additional functionality. We also recommend to enable icon caching with this library.

But if you think having a dedicated section in every package would be helpful. Then let me update in all other 51 packages too.

@swapnilsarwe swapnilsarwe merged commit 4fb3656 into codeat3:main May 27, 2025
15 checks passed
@jxxe jxxe deleted the patch-1 branch May 27, 2025 18:09
@jxxe
Copy link
Contributor Author

jxxe commented May 27, 2025

I didn't notice that, but I think it's worth emphasizing more.

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

Successfully merging this pull request may close these issues.

2 participants