在 amazon.in 的 ManualResetEvent waitObject;
// Get the event to wait on.
waitObject = state.OperationComplete;
// Asynchronously get the stream for the file contents.
request.BeginGetRequestStream(
new AsyncCallback (EndGetStreamCallback), state);
// Block the current thread until all operations are complete.
waitObject.WaitOne();
// The operations either completed or threw an exception.
if (state.OperationException != null)
{
throw state.OperationException;
}
else
{
Console.WriteLine("The operation completed - {0}", state.StatusDescription);
}
上,我发现HTML页面未被最小化。
出于性能原因,html和其他资源被最小化。
我们有没有理由不尽量减少渲染的资源?