Skip to content

georgejdli/frontend-nanodegree-mobile-portfolio

 
 

Repository files navigation

Website Performance Optimization portfolio project

===========================================

Running the optimized pages

Tools used

  • Python SimpleHTTPServer to host a local server
  • ngrok to get a secure tunnel for Google Pagespeed Insights testing
  • Gulp task runner
  • gulp-uncss to remove unused CSS rules from bootstrap-grid
  • gulp-csso to minify CSS
  • gulp-minify-html to minify HTML
  • gulp-uglify to minify javascript

Minimum optimizations required

-index.html must have a score 90 or above for mobile and desktop Pagespeed Insights -images should be compressed -scrolling and changing pizza sizes on pizza.html should have FPS 60 or greater -achieved primarily by caching variables out of loops and avoiding unnecessary calculations

Optimizations performed on pizza.html beyond the minimum requirements

-pizza.html scores above 90 for mobile and desktop Pagespeed Insights -use of innerHTML has been replaced with textContent to avoid numerous Parse HTML events -this reduces the initial load time of pizza.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.2%
  • CSS 11.8%