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
There are many such elements with similar sized class lists nested inside.
There also appears to be many instances where a child element redundantly lists a class that it inherits from its parent (though I'm no CSS expert). For example:
class names in HTML elements alone amount for ~143kB (68% of total)
average class name length = ~22 chars = 176 bits
If my calculations are correct, if these class names could somehow be hashed to 6 characters (which is what Google uses) that would reduce the total document size by at least 50%.
The text was updated successfully, but these errors were encountered:
CSS class names generated by Plasmic are very long resulting in a larger than necessary network payload and DOM.
Using the plasmic.app/ landing page as an example, here is an excerpt of a single
<section>
element:There are many such elements with similar sized class lists nested inside.
There also appears to be many instances where a child element redundantly lists a class that it inherits from its parent (though I'm no CSS expert). For example:
Analyzing ./index.html further...
If my calculations are correct, if these class names could somehow be hashed to 6 characters (which is what Google uses) that would reduce the total document size by at least 50%.
The text was updated successfully, but these errors were encountered: