I love partials – no question about how you can logically separate the
components of a view and of re-use it in many places.
My question to the experts is - what (if any) performance impact does
this have in production environment? It can’t be all good news right? Or
For example -
Case 1 : All the view rhtml is stored in one file - no partials
Case 2 : The same rhtml is generated using 10 partials with objects
passed into partials using :locals.
Note that the end result of case 1 and case 2 is the exact same html.
How does case 1 compare with case 2? I do hope to do some tests and will
share results with the forum.