From 3e6c053a95b8cc6332fa3954485b42f5baf00ef9 Mon Sep 17 00:00:00 2001 From: Trishul Goel Date: Mon, 12 Feb 2024 07:51:17 +0000 Subject: [PATCH] Updates --- 404.html | 2 +- 404/index.html | 2 +- _gatsby/slices/_gatsby-scripts-1.html | 2 +- author/dipali/index.html | 2 +- author/faye/index.html | 2 +- author/pallavi/index.html | 2 +- author/shivam/index.html | 2 +- author/sonia/index.html | 2 +- author/trishul/index.html | 4 ++-- .../index.html | 4 ++-- checkout-git-pull-request-locally-like-pro/index.html | 2 +- clojure-introduction-features/index.html | 2 +- commons-f6630ab4a2342ca1e418.js | 3 +++ ...LICENSE.txt => commons-f6630ab4a2342ca1e418.js.LICENSE.txt | 0 commons-f6630ab4a2342ca1e418.js.map | 1 + commons-f6cf56c1f5bf383254a9.js | 3 --- commons-f6cf56c1f5bf383254a9.js.map | 1 - content-security-policy/index.html | 4 ++-- .../index.html | 2 +- creating-accordions-with-native-html/index.html | 2 +- decoupling-drupal-using-json-api/index.html | 2 +- get-started-with-web-wrokers/index.html | 4 ++-- handle-cancel-click-on-file-input/index.html | 4 ++-- how-to-always-keep-files-open-in-vs-code/index.html | 2 +- how-to-call-a-function-on-URL-change-in-javascript/index.html | 4 ++-- how-to-create-gists-from-command-line/index.html | 2 +- how-to-fix-python-ssl-certificate-verify-failed/index.html | 2 +- how-to-format-browser-console/index.html | 4 ++-- .../index.html | 2 +- .../index.html | 2 +- how-to-reduce-node-docker-image-size-by-ten-times/index.html | 2 +- how-to-remove-all-images-and-containers-in-docker/index.html | 2 +- how-to-serve-api-locally-with-webpack/index.html | 4 ++-- how-to-setup-irc-and-irc-bouncer/index.html | 2 +- how-to-switch-namespace-in-kubernetes/index.html | 2 +- identifying-non-es5-packages/index.html | 4 ++-- index.html | 2 +- lazyload-images-the-browser-way/index.html | 4 ++-- offline-caching-with-serviceworkers/index.html | 4 ++-- optional-chaining/index.html | 4 ++-- .../index.html | 2 +- page-data/app-data.json | 2 +- public-private-static-data-members-in-javascript/index.html | 2 +- publish-github-pages-with-github-actions/index.html | 4 ++-- rainbow-text/index.html | 4 ++-- readabilityjs-adding-reader-view/index.html | 4 ++-- resource-coverage-in-the-browser/index.html | 4 ++-- rss.xml | 2 +- sleep-function-in-javascript/index.html | 4 ++-- tags/accessibility/index.html | 2 +- tags/analytics/index.html | 2 +- tags/automation testing/index.html | 2 +- tags/automation/index.html | 2 +- tags/bouncer/index.html | 2 +- tags/browser/index.html | 2 +- tags/bundling/index.html | 2 +- tags/ci/index.html | 2 +- tags/clojure/index.html | 2 +- tags/console/index.html | 2 +- tags/css/index.html | 2 +- tags/debugging/index.html | 2 +- tags/design/index.html | 2 +- tags/devops/index.html | 2 +- tags/docker/index.html | 2 +- tags/es5/index.html | 2 +- tags/firefox/index.html | 2 +- tags/gists/index.html | 2 +- tags/git/index.html | 2 +- tags/github-actions/index.html | 2 +- tags/github/index.html | 2 +- tags/hg/index.html | 2 +- tags/how-to/index.html | 2 +- tags/howto/index.html | 2 +- tags/html/index.html | 2 +- tags/irc/index.html | 2 +- tags/javascript/index.html | 2 +- tags/kubernetes/index.html | 2 +- tags/mercurial/index.html | 2 +- tags/mindblowing/index.html | 2 +- tags/oops/index.html | 2 +- tags/pdf setting/index.html | 2 +- tags/performance/index.html | 2 +- tags/php/index.html | 2 +- tags/privacy/index.html | 2 +- tags/programming/index.html | 2 +- tags/pwa/index.html | 2 +- tags/python/index.html | 2 +- tags/react/index.html | 2 +- tags/selenium/index.html | 2 +- tags/servcieworkers/index.html | 2 +- tags/ssl/index.html | 2 +- tags/tricks/index.html | 2 +- tags/vscode/index.html | 2 +- tags/webpack/index.html | 2 +- tags/webworkers/index.html | 2 +- webpack-runtime-04ade536fd121ad8ed7c.js | 2 ++ ...f830.js.map => webpack-runtime-04ade536fd121ad8ed7c.js.map | 2 +- webpack-runtime-c8e8c1bd6bf5d31ef830.js | 2 -- webpack.stats.json | 2 +- .../index.html | 2 +- 100 files changed, 116 insertions(+), 116 deletions(-) create mode 100644 commons-f6630ab4a2342ca1e418.js rename commons-f6cf56c1f5bf383254a9.js.LICENSE.txt => commons-f6630ab4a2342ca1e418.js.LICENSE.txt (100%) create mode 100644 commons-f6630ab4a2342ca1e418.js.map delete mode 100644 commons-f6cf56c1f5bf383254a9.js delete mode 100644 commons-f6cf56c1f5bf383254a9.js.map create mode 100644 webpack-runtime-04ade536fd121ad8ed7c.js rename webpack-runtime-c8e8c1bd6bf5d31ef830.js.map => webpack-runtime-04ade536fd121ad8ed7c.js.map (99%) delete mode 100644 webpack-runtime-c8e8c1bd6bf5d31ef830.js diff --git a/404.html b/404.html index a0493cf..917db73 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ > window.___chunkMapping="{\"app\":[\"/app-20236a47ecc0cfcc3ad4.js\"],\"component---src-pages-404-js\":[\"/component---src-pages-404-js-8d6eedf26dff23349457.js\"],\"component---src-pages-index-js\":[\"/component---src-pages-index-js-1e6eb6bae1937612ce42.js\"],\"component---src-templates-author-js\":[\"/component---src-templates-author-js-42abc0e349e85307f2d1.js\"],\"component---src-templates-blog-post-js\":[\"/component---src-templates-blog-post-js-568e11d7fbeaaa821234.js\"],\"component---src-templates-tag-js\":[\"/component---src-templates-tag-js-fcd6af40c0e70cbb191b.js\"]}"; - - - \ No newline at end of file + \ No newline at end of file diff --git a/author/dipali/index.html b/author/dipali/index.html index 33ad2e9..53f6a36 100644 --- a/author/dipali/index.html +++ b/author/dipali/index.html @@ -4,7 +4,7 @@ > window.___chunkMapping="{\"app\":[\"/app-20236a47ecc0cfcc3ad4.js\"],\"component---src-pages-404-js\":[\"/component---src-pages-404-js-8d6eedf26dff23349457.js\"],\"component---src-pages-index-js\":[\"/component---src-pages-index-js-1e6eb6bae1937612ce42.js\"],\"component---src-templates-author-js\":[\"/component---src-templates-author-js-42abc0e349e85307f2d1.js\"],\"component---src-templates-blog-post-js\":[\"/component---src-templates-blog-post-js-568e11d7fbeaaa821234.js\"],\"component---src-templates-tag-js\":[\"/component---src-templates-tag-js-fcd6af40c0e70cbb191b.js\"]}"; - - - - - - +

--- Keep your users safe ---


- - - +
- - - - +

When it comes to loading time, workers may not be making your web app load fast, but it ensures the main thread is free and the UI is not frozen. One of the rules I follow is; All UI updates should be done in the main thread and use workers for everything else.


- +

This blog was first published here


- - +

Reference: stackoverflow 😉


- - - +


- - - - - +

I highly recommend to look into devserver options, this can save a lot of your efforts 😊


- - - +


- - +

Lazyload in action


- +

While most of the time serviceworkers are constrained to progressive web apps, but these are also used to make websites more performant and better user experience.


- +


- - - +
- +

- +

Reference: https://github.com/mozilla/readability


- +
- +Hope this helps 😊


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -