ItoshikiNozomu

Results 3 comments of ItoshikiNozomu

toString实在过于hacky,这题本质和各种括号加减运算差不多

seems that babel treat the modules as es module and nodejs runtime restrict esm import statement to be with the definate file extension example ``` import a from './a' //=>module...

最近了解到一个heuristic cache(启发式缓存)的概念,我觉得可以补充一下 ``` 如果Expires,Cache-Control: max-age,或 Cache-Control:s-maxage都没有在响应头中出现,并且设置了Last-Modified时,那么浏览器默认会采用一个启发式的算法,即启发式缓存。通常会取响应头的Date_value - Last-Modified_value值的10%作为缓存时间。 作者:NowhereToRun 链接:https://www.jianshu.com/p/5b8d61afe52d 来源:简书 简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。 ```