摘要:
Origins made up of three parts the data scheme, the hostname and the prot. It is important to know that it is user broswere enforces the same origin p 阅读全文
摘要:
1. HOL (HEADS of LINE BLOCKING) Too many requests in the header tag. Broswer can allow 6 reuqest to be handled simultaneously. And each request and it 阅读全文
摘要:
If you go a public caffee shop, they have free wifi. How could you make sure your infomration cannot be read by a second person? Well, in HTTP1.1, You 阅读全文
摘要:
HEAD: HEAD is a interesting method, it allow you to get a header of file without get the whole content. It allows you to check whether there is enough 阅读全文
摘要:
In this lesson we will look at all of the pieces that combine together to create a JWT (j AWT) or JSON Web Token. You will use node to create a JWT, a 阅读全文
摘要:
Improving our mouse drag event Our mouse drag event is a little too simple. Notice that when we drag around the sprite, it always positions itself at 阅读全文
摘要:
If you’re only instrumenting the files in your project that are under test then your code coverage report will be misleading and it will be difficult 阅读全文
摘要:
How much of your code runs during unit testing is an extremely valuable metric to track. Utilizing code the karma-coverage plugin and babel-plugin-__c 阅读全文
摘要:
When writing tests run by Karma for an application that’s bundled with webpack, it’s easiest to integrate webpack and Karma directly together. In this 阅读全文
摘要:
When you have a dependency that has dependencies on global variables (like jQuery or lodash) or assumes that this is bound to window, you can use the 阅读全文