跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • htaccess性能有了解的大佬吗
未分類
7 8 月 2022

htaccess性能有了解的大佬吗

qqwer 大佬有话说 :

htaccess性能有了解的大佬吗

有一万个ip需要屏蔽,请问这两种写法
deny from ip
deny from ip
deny from ip
deny from ip
deny from ip
…

deny from ip ip ip ip ip …

哪种对服务器性能影响小点呢?

require 大佬有话说 :

我不知道,让下一个回答:lol

xiaozhenghi 大佬有话说 :

我感觉应该是有的,因为htaccess是文件,1万个体积多大,读取也需要时间吧

Lish 大佬有话说 :

不能写 IP 段?https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

googlebot2 大佬有话说 :

iptable

sdqu 大佬有话说 :

xiaozhenghi 大佬有话说 : 2022-8-7 11:37
我感觉应该是有的,因为htaccess是文件,1万个体积多大,读取也需要时间吧
…

第一次读后就缓存了,操作系统不笨,nginx/apache应该也会缓存它。https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具