Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.85 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.85 KB

Website Performance Optimization portfolio project

My project can viewed at http://archis99.github.io/web-opt/

Shortening the CRP for index.html

  • added async attribute to the google analytics script & made it inline
  • added async attribute to perfmatters.js script
  • added media="print" to the css/print link
  • minified and inlined the styles from style.css file
  • removed the google font link
  • minified the index.html

Improvement of frame rate & computational efficiency of pizza.html through views/js/main.js

GRUNT

  • set up grunt task to uglify the perfmatters.js file in js/ and saved as a new file called js/minified-js/perfmatters.min.js
  • linked the uglified perfmatters.min.js file to the index.html
  • set up grunt task to cssmin the print.css file in css/ and saved as a new file called css/minified-css/print.min.css
  • linked the minified print.min.css file to the index.html
  • set up grunt task to apply responsive_image to Archisman.jpg, frogger.png, kittens.jpg, panda.jpg files in img/ and saved as new files in img/minified-img/
  • linked the 4 images to the index.html
  • set up grunt task to htmlmin the index.html file in src/ and saved as a new file called /index.html in the primary folder