smartdevkz / dropthings

Automatically exported from code.google.com/p/dropthings
0 stars 0 forks source link

Need to understand the logic behind Application_BeginRequest method #214

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Team,
I am using dropthings api and i want to know about the logic of below method of 
Global.asax.cx page.
Application_BeginRequest()

In this method we are using ScriptDeferFilter() and StaticContentFilter() class 
and i want to understand the functionality of these classes.

Thanks,
Anna.

Original issue reported on code.google.com by anildesa...@gmail.com on 4 Jul 2011 at 8:03

GoogleCodeExporter commented 8 years ago
They are used to push scripts after the body so that scripts load after the 
content has been rendered. performance optimization.
static content filter is used to change url of js, css, images to load from 
another subdomain for faster performance. 

See these:

http://omaralzabir.com/loading_static_content_in_asp_net_pages_from_different_do
main_for_faster_parallel_download/

http://omaralzabir.com/loading_static_content_in_asp_net_pages_from_different_do
main_for_faster_parallel_download/

Original comment by omaralzabir@gmail.com on 4 Jul 2011 at 5:00

GoogleCodeExporter commented 8 years ago

Original comment by omaralzabir@gmail.com on 22 Mar 2012 at 1:55