You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
[Icons] Rework cache warm
The warm cache took a lot of time because
- the regexp was very open (due to the non-prefix icon names)
- twig templates were listed multiple times (due to the namespace system)
And a looot of false positives caused lot of cache locks for nothing.
On ux.symfony.com project with this component, the PR make the icons detected from 1000+ to 1 :)
And the command is now way quicker to run.
The prefix-less icons are warmed by simply listing the SVG at the root of the asset/icons directory
Commits
-------
99b19f6 [Icons] Rework cache warm
0 commit comments