For icons, sounds, and models (only from the MPQ, AFAIK) you can use the "Preload" function.
For effects you need to set a location somewhere on the map and create all special effects used there.
For abilities, create a dummy and add all the abilities to it and then add 1 second of expiration timer.