Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grabbing everything but the script
Message
De
02/05/2013 01:00:05
 
 
À
01/05/2013 21:14:16
Information générale
Forum:
Javascript
Catégorie:
DHTML
Divers
Thread ID:
01572384
Message ID:
01572439
Vues:
38
>>Do you control the page you're grabbing?
>
>Yes
>
>>If so, add a div around what you want to grab.
>
>Ok, I see.

Control over page generation being unclear "coloured" my answer as well. From performance POV there should be no compelling reason for either version: calling such functions in tight loops with last centuries HW was almost totally bottlenecked by internet speeds, not CPU load. Yes, bandwidth has grown stronger than CPU load and you clearly have a much better connection setup than I had - but having no idea on your CPU load distribution and percentage of page builds this functionality is called vs. "normal" page builds you would have to add the non-script-enclosing DIV tags, my SWAG guess would be adding DIV to ease/elevate structure comprehension to HTML level is IAC better compromise.

Should you decide to make the effort to measure, pls. post results: As I have no current expierince in that area, actual data from your end is always welcome. "Still irrelevant" today and in your setup being also a result worth knowing ;-)

regards

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform