GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nixbytes/Web_Optimization_Project: Web Optimization Project to achieve a PageSpeed Score of 90

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
css
css
 
 
img
img
 
 
js
js
 
 
views
views
 
 
.DS_Store
.DS_Store
 
 
README.md
README.md
 
 
index.html
index.html
 
 
project-2048.html
project-2048.html
 
 
project-mobile.html
project-mobile.html
 
 
project-webperf.html
project-webperf.html
 
 

Repository files navigation

Website Performance Optimization portfolio project

Your challenge, if you wish to accept it (and we sure hope you will), is to optimize this online portfolio for speed! In particular, optimize the critical rendering path and make this page render as quickly as possible by applying the techniques you've picked up in the Critical Rendering Path course.

To get started, check out the repository and inspect the code.

Getting started

####Part 1: Optimize PageSpeed Insights score for index.html

Some useful tips to help you get started:

  1. Check out the repository
  2. To inspect the site on your phone, you can run a local server
$> cd /path/to/your-project-folder
$> python -m SimpleHTTPServer 8080
  1. Open a browser and visit localhost:8080
  2. Download and install ngrok to the top-level of your project directory to make your local server accessible remotely.
$> cd /path/to/your-project-folder
$> ./ngrok http 8080
  1. Copy the public URL ngrok gives you and try running it through PageSpeed Insights! Optional: More on integrating ngrok, Grunt and PageSpeed.

Profile, optimize, measure... and then lather, rinse, and repeat. Good luck!

####Part 2: Optimize Frames per Second in pizza.html

To optimize views/pizza.html, you will need to modify views/js/main.js until your frames per second rate is 60 fps or higher. You will find instructive comments in main.js.

You might find the FPS Counter/HUD Display useful in Chrome developer tools described here: Chrome Dev Tools tips-and-tricks.

Optimization Tips and Tricks

  • Optimizing Performance
  • Analyzing the Critical Rendering Path
  • Optimizing the Critical Rendering Path
  • Avoiding Rendering Blocking CSS
  • Optimizing JavaScript
  • Measuring with Navigation Timing. We didn't cover the Navigation Timing API in the first two lessons but it's an incredibly useful tool for automated page profiling. I highly recommend reading.
  • The fewer the downloads, the better
  • Reduce the size of text
  • Optimize images
  • HTTP caching

Customization with Bootstrap

The portfolio was built on Twitter's Bootstrap framework. All custom styles are in dist/css/portfolio.css in the portfolio repo.

  • Bootstrap's CSS Classes
  • Bootstrap's Components

Website Performance Optimization Project

The objective to optimize a provided website with a number of optimization- and performance-related issues so that it achieves a target PageSpeed score and runs at 60 frames per second.

Goal

A README file is included detailing all steps required to successfully run the application and outlines the optimizations that the student made in index.html and views/js/main.js for pizza.html

  • optimize images by create new version with optimizilla.Image compression: images were rescaled and resized to the final layout dimensions

    • source can be found at optimizilla
    • create a min image for pizzera(a thumbnail)
  • minified css and js with a command line tool called minifier

    • source of minifier
  • check the FPS using Google Dev Tools

  • optimize js in section scroll

    • using reference from https://www.igvita.com/slides/2012/devtools-tips-and-tricks/jank-demo.html

screenshots

Index Page

index

Pizzera

Pizzera

Validate Score from Google Page Speed tool

DeskTop Score

Desktop

Mobile Score

Mobile

About

Web Optimization Project to achieve a PageSpeed Score of 90

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.