The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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.
|
![]() |
|
|