I have a website that uses SSR rendering. I noticed that the HTML that is output by the SSR renderer contains:
- binding attributes (class.bind, value.bind, click.delegate, etc)
- au-target classes
- au-target-id attributes
I have noticed that these can safely be removed server side before sending the HTML response, and everything still works fine.
My question is, does removing these things (which seem unnecessary) have any effect on performance?
The reason for my question is that, as you know, SSR sends the client a DOM which the client builds (and in the mean time loads the bundles). Once the application bundle is loaded, I presume Aurelia essentially “enriches” the existing DOM to add the client-side functionality. What effect does absence or presence of those tags have on this enriching process, if any?