Code Monkey home page Code Monkey logo

frontend-and-api-performance-assignment-1's Introduction

  • Description

This project focuses on optimizing a website for performance using Vite and various optimization techniques. It includes additional integrations such as using Bootstrap, and adding cdn for jQuery Easing, and Owl Carousel and animate for enhanced loading.it also incluses optimization techniques listed below.

  • Installation

Clone the repository:

git clone https://github.com/reanbrenda/Frontend-and-API-Performance-assignment-1

Navigate to the project directory Install dependencies using npm:

npm install

To start the development server, run:

npm run dev

  • Optimization Techniques

Image Optimization: The project includes the ViteImageOptimizer plugin, which optimizes images (including JPEG files) to improve loading times. Configuration options include quality adjustment and progressive rendering.

HTML Minification: The ViteMinifyPlugin is used to minify HTML files, reducing their size and improving loading speed.

Asset Preloading: Custom Vite plugins preload critical assets such as fonts (font.woff2) to reduce latency and improve page load times.

Asynchronous JavaScript Loading: Another custom Vite plugin makes JavaScript files load asynchronously, preventing render-blocking and enhancing page responsiveness.

Lazy Loading Images: Images are lazy-loaded except for the ones in the first page improving perceived performance by loading images only when they are in the viewport.

  • Additional Integrations

Bootstrap: Integrated for styling and UI components.

jQuery Easing: Integrated via CDN to provide smooth animations and transitions.

Owl Carousel: Integrated via CDN for carousel functionality.

Contact Form Integration

A contact form with validation is included using jQuery Bootstrap Validation, which also is done using cdn.

  • License

This project is licensed under the MIT License.

frontend-and-api-performance-assignment-1's People

Contributors

reanbrenda 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.