FTP chroot on VirtualMin

There are some complications to overcome: The chroot directory must be root owned and world-readable (sshd checks this unconditionally for […]

Style phone number

Style Phone number: The Smart phone will detect the phone number and render it, which may make the style inconsistent. […]

Apache work as Reverse Proxy

In such scenarios, httpd itself does not generate or host the data, but rather the content is obtained by one […]

WordPress Plugins

News: WP News and Scrolling Widgets Banner: simple banner Form: contact form 7

Introduction to http cache (From a Chinese blog)

引言 通过网络获取内容既缓慢,成本又高:大的响应需要在客户端和服务器之间进行多次往返通信,这拖延了浏览器可以使用和处理内容的时间,同时也增加了访问者的数据成本。因此,缓存和重用以前获取的资源的能力成为优化性能很关键的一个方面。 序 本文用于解决以下六个疑问。 与缓存相关的HTTP首部字段主要有哪些? 这些HTTP首部字段之间的联系与区别? HTTP缓存首部字段的优先级? HTTP缓存首部字段的特点与局限性? 用户不同的页面刷新行为的差别? 在实践中我们该用哪些报文头来控制缓存呢? 文中使用的1.html以及doge.png如下所示 <!DOCTYPE html> <html> <head> <meta charset=”utf-8″> <title>缓存控制测试</title> </head> <body> […]