2008-04-29

Disabling the Firefox DNS cache

Disabling the Firefox DNS cache

November 4th, 2006 by site admin

If you, like me, make frequent changes to your host file, for instance because your staging and production environment both listen to the same vhost. You will have probably noticed that it takes Firefox a while to pick up on the alterations you made. This is because in order to improve performance by default Firefox caches DNS lookups for up to 60 seconds. If you do not feel like waiting, restarting the browser is your only option. Fortunately you can disable DNS caching. This is what you do :

Enter about:config in the adress bar.

Right click on the list of properties, select new > integer in the context menu

enter network.dnsCacheExpiration as the preference name and 0 as the integer value

Add another integer preference, this time use network.dnsCacheEntries as the preference name and again 0 as the value

2008-04-25

[股市] 什么是“大非”、“小非”

股权分置改革之前,上市公司的股份分为流通股和非流通股两部分。股权分置改革之后,考虑到市场的接纳程 度,对非流通股获得流通权规定了限制时间,这部分股票因此叫限售股份。“大非”是指大规模的限售流通股,占总股本5%以上。“小非”是指小规模限售流通 股,占总股本5%以下。

-- 南方周末

2008-04-02

Change MSN Account E-Mail

MSN 帐号支持修改 email 了, 在 Windows Live Account 登录后点 Change 链接即可, 昨天俺把用了 N 年的 MSN 帐号从 263 的 email 换成了 gmail. 转换过程很顺利, 原来的 MSN 好友会自动迁移到新的 MSN 帐号中, 正如我所期望的那样.

Free Books

Wikipedia 也能访问了!

既然 blogspot 解禁, 那 wikipedia 呢. 试一下打开 en.wikipedia.org, 竟然进去了, 大喜.

Blogspot 解禁了?

使用 proxy 访问 blogspot 很久了, 昨晚在家突然访问不了我的 blog 了, 以为是临时网络故障所致, 没有在意. 今早来公司再次访问俺的 blog, 仍然失败, 怪. 难道 ...? 修改 firefox 的 settings, 去掉 proxy 设置, 竟然能直接访问 blogspot 了, 喜. google 一下 ‘blogspot 解禁’, 果然是解禁了, 但愿不是临时的.