开发者

Response.Filter making multiple calls to Write()?

For some time I am using custom R开发者_StackOverflow中文版esponse.Filter for rewrite purposes. Since I never tested this module, I decided to run a few tests and spotted something I did not expect.

I realized that pages are written to stream using multiple calls to Write().

So does it mean that my rewrite logic is being called multiple times for the same chunk of html or html is actually divided in partitions?

Please help me understand how Write() works.


Pages are written in chunks.

Each chunk is sent trhough your filter exactly once.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜