Registering a Service Worker
Jan 22 2018- POSTED BY projecth
index.js For our app, index.js is the SW script, and it is located in \wittr\public\js\sw\index.js. Fetch event listener A fetch event controls requests […]
Read Moreindex.js For our app, index.js is the SW script, and it is located in \wittr\public\js\sw\index.js. Fetch event listener A fetch event controls requests […]
Read MoreWhat is a Service Worker? Service Worker is simply a JavaScript file that sits between you and the network. It’s […]
Read More1. Install NodeJS You’ll need Node.js v0.12.7 or above. Check what version you have if you already have it node […]
Read MoreLie-fi It is an expression to describe a WiFi network that seems to to be available but won’t connect, or […]
Read MoreLoad Time Setup Have all of the site – or at least most of it – loaded within 2 […]
Read MoreElements You can rearrange HTML elements by simply clicking and dragging the element. Resources The Resources panel displays all […]
Read MoreService Worker A script that runs in the background that features to be cached without requiring a user interaction. They […]
Read MoreGulp Modules Build a Gulp pipeline resource that will minify the resources in our app to their smallest footprint possible. […]
Read MoreFact is, JavaScript loaded in the browser is FAST! It’s the sending of code that needs to be optimized. The […]
Read MoreYou can optimize images using one of the following Gulp modules: gulp-tinypng gulp-image gulp-imagemin TinyPNG’s Open API Use TinyPNG’s […]
Read MoreImages are the number one perceived performance fail of any web app. A slowly loaded image can really impact your […]
Read MoreImages in CSS with background Use @media queries. Using a mobile-first perspective, your CSS media queries should be: min-width. .image-background […]
Read MoreThe goals when writing performance CSS is to accomplish your desired styling with as less code as possible. Use CSS […]
Read MoreImages Images are almost always the biggest use of bandwidth. Use sprite maps to combine images into one large image. […]
Read MorePage Speed Google Page Speed is a family of tools that can help you optimize the performance of a website. […]
Read MoreDevelopment is iterative, and the most important thing for developers is to quickly see their changes. However, in a production […]
Read MoreOne of the most powerful aspects of gulp, is the ability to put multiple tasks together. Doing this allows you, […]
Read More