Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is site.css specified?
Message
 
 
À
13/11/2013 09:52:13
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587781
Message ID:
01587900
Vues:
24
I read a couple of articles about bundles and some discussions on stackoverflow. Bundles are good but could be very confusing for a novice (and from some questions on stackoverlow even for experienced). I wish creators of VS would make the bundles work more intuitive; and maybe allow the developer to decide if he/she wants to use them and when.

>Bundles are a good thing. In a web application, if you list each css file separately, each must be loaded separately. That means for each file, you have to contact the server, establish a connection, download the content, the disconnect. With a bundle, multiple files are automatically combined. So if you have three files in the bundle, the browser connects to the server one time, which speeds up page load.
>
>
>>
>> <webopt:BundleReference runat="server" Path="~/Content/css" />  
>>
>>
>>This is how they (VS) load all CSS.
>>Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform