Exposing Cache Control Headers for Map Display - spectrum_spatial - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

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. You can disable these default HTTP headers and set the HTTP cache behavior in the headers that are defined in the individual web services instead.

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. In a text editor, open the following file:
    SpectrumDirectory\server\conf\spectrum-container.properties
  3. Change the following property from true to false:
    spectrum.http.cache.control.headers.enable=false
  4. Save and close the properties file.
  5. Start the Spectrum Technology Platform server.