New Performance Options

The latest version of Facebook Page Promoter Lightbox introduces new performance options. In order to successfully use these options you must learn a little more about them and about the technologies they use in general.

  • Asset Minification: Yes, minification isn’t really an English word, but it is a term commonly used in the webdesign industry anyway. In order to be able to maintain code, comments are added as well as white lines, tabs and spaces. To save disk space ( and reduce the amount of data sent over the network) code can be transformed to a smaller, but unreadable version. This can be done for both Javascript and CSS stylesheets.
  • Inline Assets: Normally, when a website is requested, stylesheets and scripts are loaded by an extra request to the web server. By embedding styles and scripts directly into the HTML, no extra network connection has to be established. This can speed up loading tremendously.

In addition, various options as how to load the Facebook Application Interface are added.

  • Load Synchronous: The first asset to be loaded is the script from the Facebook server. This makes sure that the script is loaded with the correct settings, even if you have multiple social plugins active on your website (this is recommended if you don’t know what you are doing)
  • Load Asynchronous: Facebook is loaded next to all the other scripts ( in parallel). this speeds up performance, but can cause issues when you are using multiple social plugins. If that’s the case, make sure that they all load the API using the same key or that only one plugin loads the API with the right API Key.
  • Don’t Load the Api: Only select this option if you are using another social plugin which initialized the API with the Application set up properly! The API will not be loaded.