Skip to content

img空路径导致Page_Load执行两次

很难以发现这个问题:一般执行的结果肯定是一样的,只不过是Page_Load执行两次而已(不排除特殊情况下)。所以如果你的加载数据是放在Page_Load中执行那这将是产生很大的性能问题,因为该问题的产生是在执行结果后产生HTML并发送客户端后如果src=”"引起的另一次GET请求。解决办法当然就是赋予src正确的数据。

我只能告诫自己,按标准堆规范做事,否则很大性能并不是框架本身而是自己。

相关日志

Categories: 技术.

Tags:

Comment Feed

No Responses (yet)



Some HTML is OK

or, reply to this post via trackback.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word