Tip: ArcGIS API for JavaScript Web Optimizer

If you’re building custom ArcGIS API for Javascript web applications, you might want to check out the Web Optimizer provided by Esri. It helps you by packaging your code and the required modules in one single, optimized package. The resulting code is quicker to download because it is smaller in size and it reduces the number of http requests, which is also beneficial for application loading times and performance.

There are some prerequisites:

  • All code must use AMD-style require and define to load and create modules. Code that uses global references to Esri and/or Dojo modules is not supported.
  • ArcGIS Online organization or ArcGIS for Developers account.
  • JS API version 3.4 or later.
  • Custom modules should define a package.json file that, at minimum, defines name and version properties.

More info here: https://developers.arcgis.com/javascript/jshelp/inside_web_optimizer.html

Access the Web Optimizer here: http://jso.arcgis.com/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s