Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Template strategy

$
0
0
The simple way is also to maintain a xml/config file where you group sets of js and css files together and give them names. This way you can at any point in the Rendering pipeline define what js/css group this request belongs to and render the correct includes that way.

Still not as flexible as https://github.com/Shandem/ClientDependency which supports adding new files to a page at runtime, but sat least you don't need to create a ton of Templates.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>