To achieve optimal performance, the ultimate goal is to build your OpenSocial gadget packages so that no more than one CSS file and one JavaScript™ file are downloaded for each page. Use the following best practices to package your gadgets to meet this goal: