I prefer to add hands-on eye candy to the network community that I developed, but as things start to add up, I'm worried about load times.
Is it really faster when users load (hopefully cached) a copy of jquery from Google repositories?
Does jQuery use AJAX calls to improve / decrease efficiency compared to basic javascript xmlHTTP requests?
Is there a practical way to reduce the number of included scripts? For example, I include jQuery and the jQuery user interface from Google, a table sorter, and a growl plugin.
1. (, ) jquery Google?
. Google , .
2. jQuery AJAX / javascript-xmlHTTP-?
jQuery XmlHttpRequest , . , XmlHttpRequest.
XmlHttpRequest
3. ? , jQuery jQuery Google, growl.
, /CDN. Google AJAX.
jQuery , . .
JavaScript . , , , . , , JavaScript.
jQuery, , . . jQuery .
1.It , (, ) jquery Google?
, . , , Google.
2. jQuery AJAX, / javascript xmlHTTP-?
jQuery , . , , Ajax Javascript.
3. ? , jQuery jQuery Google, .
, .
JQuery , , .
, Google ( , ), Google., Google, , . (- )
jQuery $.ajax XMLHTTPRequest. ( AJAX, )API jQuery .
$.ajax
jQuery- () .minifier Google Closure Compiler, Microsoft AjaxMin.
jQuery Google . Google , , , , Google, . , , . , , , , .
jQuery ajax , . , .
, . , , , . , .
Q1: ( ) jquery Google?
javascript ? , , Google .jQuery, , jQuery , , 2 . ( google last jQuery.js)
javascript ? , , Google .
jQuery, , jQuery , , 2 . ( google last jQuery.js)
Q2: jQuery AJAX / javascript-xmlHTTP-?
. .
Q3: ? , jQuery jQuery Google, growl.
Who is interested in the number of included scripts? This should not be a factor in your design decisions. If you need it, use it. If you do not, do not turn it on. Run all your libraries on the server where the application is running, and stop worrying about it.
Source: https://habr.com/ru/post/1745497/More articles:Real pagination with Next and Previous buttons - phpHow can I create a DOTNET COM joint assembly for a classic ASP that does not block other threads? - c #NAnt errors when generating assembly information after a project are updated to VS2010 - .netWhat PowerShell data formats are the easiest to read? - powershellDetermine if a server is listening on a given port - c #Can I make this blind relative to the absolute conversion path (for the perforce depot path) better? - algorithmMultiple FK columns pointing to the same parent table is a good idea? - database-designHow can I programmatically (using reflection?) Change the body of the method and save my changes back to disk - reflectionИнформация о часовом поясе .NET - timezoneHow to templatize partial custom templates? - c ++All Articles