|
The funniest thing about it, was all the people on Twitter complaining they couldn't get onto the Internet - I don't know whether they saw the irony lol.
Wow Glenn, your network must be massive. My script does not need that kind of optimisation. It now takes about 3 seconds to run the script and the only area where it pauses for a second is with my pinned icons udf as the computer is taking time to delete pinned icons and add whatever. I need to rewrite that so that it checks if pinned icon exists and doesn't rewrite it. But thats a minor niggle.
My biggest problem which I fixed months ago was two things. Deleting temp files on logon was really slow because the computer was busy booting up so using the hard drive. Moving this to the logoff script fixed that. The BGI Wallpaper also slowed the script down especially on netbooks until I coped the bgi wallpaper to a local directory on each computer/netbook and now its a lot faster as I am not copying that wallpaper over the network every login.
Allen, I think the LDAP and other script already caches the information as it definitely is faster when I run it for a second time/third time/fourth time. It only loses the cache like after a minute or two which for a logon script is not an issue.
|