Giter VIP home page Giter VIP logo

project-4's Introduction

Website Optimization Project!

I was provided with a functional website that needed to be optimized. I made the index.html score at least 90 on PageSpeedInsights, and I made the JavaScript in main.js run at 60fps!

index.html Optimizations!

  1. Use media query for separate print.css
  2. Remove unnecesary CSS from the main CSS
  3. Inline all CSS
  4. Async all analytics JS
  5. Host images locally
  6. Optimize and resize images using ImageOptim
  7. Remove web font and use default sans-serif font

Pizza JS Optimizations!

  1. Move anything that didn't need to be in the for loops to the outside of the loop!

Using npm and Grunt!

I didn't use either for optimizing this project because I ended up inling most of the CSS (and also I didn't start playing with npm or Grunt until after I had gotten to the required PageScores and fps). I DID get them installed and working on a copy of this project. Check out my npm-tests repo to see the results!

project-4's People

Contributors

danodea avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.