Disabling Default HTTP Cache Control Headers

By default, Spectrum™ Technology Platform web services use the following HTTP headers for caching:

Cache-Control: no-cache,no-store,no-transform,must-revalidate 
Expires: Wed, 07 Jan 2015 15:38:03 GMT //48 hours in the past
Pragma: no-cache

These HTTP headers are not appropriate for the Map Tiling Service; however, you can disable these default HTTP headers and instead set the HTTP cache behavior in the headers that are defined in the individual web services.

Note: If you are applying this change to a cluster you must repeat the following procedure on each node in the cluster.

To disable the default HTTP cache control headers:

  1. Stop the Spectrum™ Technology Platform server.
  2. Open the following file in a text editor:
    SpectrumFolder\server\app\conf\spectrum-advanced.properties
  3. Change the following property from true to false:
    spectrum.cache.control.headers.enable=false
  4. Save and close the properties file.
  5. Start the Spectrum™ Technology Platform server.