Do you have some feature in mind that you'd love to see in Couch? Let us know.
4 posts Page 1 of 1
It would be great if couch had this built in (using minify or a similar library) so we could reduce HTTP requests.
Code: Select all
<cms:combine>
   <script src="<cms:show k_site_link />js/libs/gumby.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.retina.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.fixed.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.skiplink.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.toggleswitch.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.checkbox.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.radiobtn.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.tabs.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.navbar.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/gumby.fittext.js"></script>
   <script src="<cms:show k_site_link />js/libs/ui/jquery.validation.js"></script>
   <script src="<cms:show k_site_link />js/libs/gumby.init.js"></script>
</cms:combine>


If it could then output the combined file to a cache folder, and the combined file be updated if it detects changes to any of the js/css files.


Example from Lemonstand
http://lemonstand.com/docs/combining_an ... css_files/
Thanks for the suggestion.
I had it in mind for a long time now but never got around implementing it.
Now that this functionality has been requested, I guess it is time to roll up my sleeves :)

I'll try and release it as a separate addon once 1.4 is out.

Thanks.
KK - Awesome :)

I think it would be very useful, it's a pain to combine and minify before upload, I much prefer an on the fly method.
This certainly would be a convenient feature. With that said, we can already accomplish all of this and more with other open-source software. If you haven't already jumped on the Grunt (http://gruntjs.com/) bandwagon, I would recommend you give it a try: http://24ways.org/2013/grunt-is-not-weird-and-hard/
4 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 1 guest