Open priyank26 opened 5 years ago
remove below file from footer : jquery.lazy.plugins.min.js
combine common js in one "common-header.js" file ( client-cart.js & client-advance-search.js )
make all JS files start with "https://" instead of "http://" ( mohitbhai )
replaced server js urls with CDN urls ( bootbox.min.js && jquery.validate.min.js )
search.html : remove duplicate styles ( font-awesome.min.css & fonts.googleapis )
remove client-cart.js from footer and put in "cartPage.html". Some code moved to common-header.js
Minify javascripts. Some will be pending as we need confirmation from TL like feather js.
solved issue of client-detail-page.js called 2 times in the product detail page. (
move javascripts from header to footer
checked impact after removing Y js
2 same urls call in all page. Removed one from builder. ( font-awesome.min.css )
Using CDN images for optimisation.
Remove duplicate ajax calls. ( flowz-builder-engine.js & global-variables-plugin.js )
remove errors from console ( Cannot read property '0' of undefined. It comes from flowz-builder-engine.js because of getting blank array in response.)
lazyload js for loading images after page load (put this in the footer)
put single js file for each page (example for homepage : client-homepage.js)
Integrate optimisation code with 'web1' and 'innovation-line' template
Seo : use alt, title for images. Set alt and title value as their product,tag,flyer and ecatalog name.
Convert http links to https in scripts
Use lazyLoad for in all images
Use "defer" in website template pages.
Remove compare page code from main.js and put in client-compare-page.js
Merge common css and javascript in single file base.css
Optimize "Tag Management" like featured product etc... loading tagged products takes long time.
Also, product detail page takes long time and no uploader. - done
add 'loader...' under label - "Featured (tagged) Products" at home page.
SUMMARY:
Prerequisite: