前端
assassinice
网站开发,互联网平台开发
展开
-
Error: error:0308010C:digital envelope routines::unsupported
error:0308010C:digital envelope routines::unsupported原因: node v17中的OpenSSL3.0对允许算法和密钥大小增加了严格的限制,可能会对生态系统造成一些影响。在node v17以前一些可以正常运行的的应用程序,但是在 V17 版本可能会抛出以下异常:Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash原创 2022-12-05 15:00:18 · 13616 阅读 · 2 评论 -
浏览器性能优化
1.开启gzip压缩:Apache 使用 mod_deflate;2.隐藏父元素,浏览器不会加载这张图片:#parent div { background:url(image.jpt); }@media(max-width:600px){ #parent{display:none;} }3.用不同的媒体查询告诉浏览器什么屏幕尺寸加载什么background-im原创 2018-01-07 10:04:35 · 766 阅读 · 0 评论 -
树莓派 配置 Apache 多站点
1.sudo nano /etc/apache2/sites-available/000-default.conf <VirtualHost www.byice.net:80> ServerName www.byice.net #配置站点的域名 ServerAdmin assassinice@hotmail.com #邮箱 Documen...原创 2018-05-25 18:53:24 · 997 阅读 · 0 评论