CaptainKaos Posted May 3, 2018 Share Posted May 3, 2018 MrB and Big Al As we did our own theme and these are from b4 v6.2 (6.12)(we are on 6.2 now ) i get that i cant join some together as they need to load in a certain order couple Q's have they been changed now the 6.2 is up and running ? do i need to update any? (store is working ok ) Can I recompress to get better savings ( i know in not gaining a lot but i get some thing) Can any be added to another ? just curious Minifying https://automotiveclipcompany.com.au/skins/acc/js/1.foundation.min.js could save 11.4KiB (29% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/js/2.cubecart.js could save 722B (15% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/js/3.cubecart.validate.js could save 260B (15% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/js/vendor/jquery.js could save 233B (1% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/js/vendor/jquery.bxslider.min.js could save 208B (4% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/js/main.js could save 172B (4% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/javascript/featherlight.gallery.min.js could save 145B (12% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/javascript/featherlight.min.js could save 132B (5% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/js/vendor/jquery.validate.min.js could save 114B (2% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/js/vendor/jquery.cookie.min.js could save 106B (14% reduction) after compression. See optimized version. Minifying https://automotiveclipcompany.com.au/skins/acc/js/vendor/modernizr.min.js could save 106B (3% reduction) after compression. See optimized version. thanks forgot a Q if im not running box slider do i need it ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 4, 2018 Share Posted May 4, 2018 There are two parts to what CC620 is doing to the skin templates. 1. Squeezing/Combining all CSS files into one file, Squeezing/Combining all JS files into one file, and 2. Squeezing the HTML 1. There is a new Smarty function, {combine}, but if your skin templates do not employ that function, then the HTML delivered to your browser will still have all the numerous <link>s to the various css and js page resources. 2. Squeezing the HTML will happen to all skins. By "squeezing', I mean that all comments and unnecessary whitespace is stripped, inline CSS declarations are rewritten to their smallest syntax, etc. No, you do not need the BXSlider javascript file if you do run a BXSlider. Be sure to remove the initialization script for it near the bottom of the main.php template. Quote Link to comment Share on other sites More sharing options...
CaptainKaos Posted May 4, 2018 Author Share Posted May 4, 2018 so is there notes how to mod the skin to do this ? i did have a look in git but may of missed some thing Thanks MrB Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 4, 2018 Share Posted May 4, 2018 The {combine} function can be found here: https://github.com/dead23angel/smarty-combine The HTMLMinify can be found here: https://github.com/markhughes/HTMLMinify-Smarty Quote Link to comment Share on other sites More sharing options...
CaptainKaos Posted May 5, 2018 Author Share Posted May 5, 2018 (edited) Thanks MrB i see there a smarty thing all good Edited May 5, 2018 by CaptainKaos i learned more Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.