3 ms·
Unless you're using snippets or partial views where you can load only what's needed (in terms of JS and CSS) on a given page. In that instance, I can see an ad
by at-fates-hands 13y ago
Unless you're using snippets or partial views where you can load only what's needed (in terms of JS and CSS) on a given page.
In that instance, I can see an advantage for inlining it, but it sure doesn't make for attractive code. Priorities though - right?
- untog 13y agoEven then, unless your partial views are barely ever repeated in different pages it still isn't worth it. And if they're barely ever repeated then there isn't much point in them being partial views.