The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Enable External Javascript
Is it safe to do this? Is it more server intensive? I only added one thing that uses it, but I didn't know if I enabled it, if other things in vbulletin would begin to use this as well.
|
#2
|
|||
|
|||
The page will load slower but it will be easier on the server.
|
#3
|
||||
|
||||
The page will not necessarily load slower, it may in fact load faster as the YUI JS may have already been cached by the user visiting a website that uses the framework (and also fetches the JS directly from Yahoo).
|
#4
|
|||
|
|||
I have a few javascripts that I load from disk because they are simply unwieldy to try to manage in a template, a world clock for example. I don't notice any problems with them usually and especially have they have been loaded the first time. HTH
|
#5
|
||||
|
||||
Hold on. Are wee talking about the external YUI function of vBulletin or just about using external JS generally?
|
#6
|
|||
|
|||
I thought he was talking about using an external .js file rather than adding javascript code to a template, for example. I didn't see any reference to YUI JS except in your reply?
|
#7
|
|||
|
|||
I just have a random javascript code, it wouldnt work until I enabled external javascript. I'm wondering if any other coding in vbulletin uses external javascript when enabled. If so what and how will it affect my server?
|
#8
|
||||
|
||||
Where did you "enable external JS"?
|
#9
|
|||
|
|||
External option in vbulletin admincp.
|
#10
|
||||
|
||||
That options lets the user fetch the YUI JS framework directly from the Yahoo servers, so post #3 applies.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|