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
First one resolved into my-pic-300w.png and my-pic-300w@2.png. Second one into my-pic-600w.png and my-pic-600w@2.png. The problem is that files my-pic-300w@2.png and my-pic-600w.png are completely identical but they generated twice, stored in cache twice, stores in fs twice and loaded into client twice.
Maybe it have sence to resolve file size and share one file into several locations? So in my example instead of having 4 files we will get only 3: my-pic-300w.png, my-pic-600w.png, my-pic-1200w.png.
The text was updated successfully, but these errors were encountered:
Enter your suggestions in details:
Let's say I have two components for showing same image:
First one resolved into
my-pic-300w.png
andmy-pic-300w@2.png
. Second one intomy-pic-600w.png
andmy-pic-600w@2.png
. The problem is that filesmy-pic-300w@2.png
andmy-pic-600w.png
are completely identical but they generated twice, stored in cache twice, stores in fs twice and loaded into client twice.Maybe it have sence to resolve file size and share one file into several locations? So in my example instead of having 4 files we will get only 3:
my-pic-300w.png
,my-pic-600w.png
,my-pic-1200w.png
.The text was updated successfully, but these errors were encountered: