aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2012-12-03 11:29:18 -0200
committerSilvio <silvio@socioambiental.org>2012-12-03 11:29:18 -0200
commit378c24c4f8958e19ffb9cf364afe8f89ea3420dc (patch)
treef1e02225130870984112a987e867629be842c3db
parentcd63cd589813bac1408205cc0621baf3477a5d5c (diff)
downloadgmap_arcgis-378c24c4f8958e19ffb9cf364afe8f89ea3420dc.tar.gz
gmap_arcgis-378c24c4f8958e19ffb9cf364afe8f89ea3420dc.tar.bz2
Increasing mapserver caching expiration time
-rw-r--r--gmap_arcgis.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap_arcgis.module b/gmap_arcgis.module
index 5c75a67..c595dd8 100644
--- a/gmap_arcgis.module
+++ b/gmap_arcgis.module
@@ -302,7 +302,7 @@ function gmap_arcgis_mapserver() {
$return = $dynamic == TRUE ? preg_replace($pattern, $timestamp[0], $data->data) : $data->data;
// Cache expiration.
- if ($data->created < time() - 1800) {
+ if ($data->created < time() - 3600) {
cache_clear_all($key, 'cache_page');
}
}