随笔分类 - [Whole Web]
摘要:SQL injection (SQLi) is a vulnerability that allows the attacker to make arbitrary queries to an an application’s SQL database. Depending on circumsta
阅读全文
摘要:Cross-Site Scripting (XSS) is a vulnerability that allows the attacker to inject their own JavaScript code into a vulnerable website. This gives the a
阅读全文
摘要:Using the Strangler Pattern First write the Dependency Graph. For example: It would be a good idea start `C` module or `A`. It would be a bad idea sta
阅读全文
摘要:Monolith Microservices Self-contained application that is deployed as one unit Independently-deployed applications that communicate through networks P
阅读全文
摘要:Monoliths Are Not Bad! Microservices designs are another architectural pattern and are not intended to replace monolith applications. We should not bl
阅读全文
摘要:Netlify serverless Set up a Local Development Environment for Serverless Functions Using Netlify Netlify makes developing serverless functions easy wi
阅读全文
摘要:require.context: https://webpack.js.org/guides/dependency-management/#requirecontext require.context(directory, useSubdirectories = true, regExp = /^\
阅读全文
摘要:The racing condition would be one possible bug when we apply cache a newtwork request. For example, we implement a search box, for all the requests, w
阅读全文
摘要:Using the https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API(Web Speech API) it is possible to use speech synthesis in the browser withou
阅读全文
摘要:In this course, we'll learn how to exploit and then mitigate several common Web Security Vulnerabilities: Man in the Middle (MITM), Cross Site Request
阅读全文
摘要:According to HTTPArchive, images are the most requested asset type for most websites and usually take up more bandwidth than any other resource. At th
阅读全文
摘要:Image is quite heavy in web traffic. it is about 53% whole web traffic. It is important to make sure loading image won't be a slow & bad experience to
阅读全文
摘要:For multi pages application, it is very slow to navgiate between page by page, because it needs to reload the full page. Portal can solve the problem
阅读全文
摘要:There is pretty good talk about performacne https://www.youtube.com/watch?v=puUPpVrIRkc It targets the low end device or poor network connection. Serv
阅读全文
摘要:Proxy configuration: When we have already fews applications running in the workspace, and we want to add 'api' layer for one applicatrion only, we can
阅读全文
摘要:The Shadow DOM protects your components from style conflicts. The same protection also makes it hard for users to modify the inner style for their own
阅读全文
摘要:We can emulate different operating systems, browsers, and devices within a desktop operating system. We’re going to discuss iOS and Android options we
阅读全文
摘要:"Paint" is one of the most preference killer, it can easily cost more than 60fps, and once you trigger "Paint" it always trigger "Composite" as well.
阅读全文
摘要:What is web worker for? OK, read it docs to get full details idea. Or just a quick intro to web worker. Web worker, open another thread in the backgro
阅读全文