Interactive interface for browsing global, full-resolution satellite imagery
WV-761: Headers for ECHO cgi script now tell the browser not to cache
Mike McGannc53daeb10bb2
diff --git a/src/js/data/wv.data.echo.js b/src/js/data/wv.data.echo.jsindex de370ed80..ae3a3198b 100644--- a/src/js/data/wv.data.echo.js+++ b/src/js/data/wv.data.echo.js@@ -24,7 +24,7 @@ wv.data.echo.client = wv.data.echo.client || function(spec) {var ns = wv.data.echo.client;var ajaxOptions = {- url: "service/echo.cgi",+ url: wv.brand.url("service/echo.cgi"),traditional: true,dataType: "json",timeout: QUERY_TIMEOUTdiff --git a/src/service/.htaccess b/src/service/.htaccessindex 1695f503f..ceb239fe0 100644--- a/src/service/.htaccess+++ b/src/service/.htaccess@@ -1,2 +1,7 @@Options +ExecCGIAddHandler cgi-script .cgi++ExpiresDefault A0+Header set Cache-Control "no-cache, no-store, must-revalidate"+Header set Pragma "no-cache"+