diff options
author | Silvio <silvio@socioambiental.org> | 2012-12-03 11:29:18 -0200 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-12-03 11:29:18 -0200 |
commit | 378c24c4f8958e19ffb9cf364afe8f89ea3420dc (patch) | |
tree | f1e02225130870984112a987e867629be842c3db | |
parent | cd63cd589813bac1408205cc0621baf3477a5d5c (diff) | |
download | gmap_arcgis-378c24c4f8958e19ffb9cf364afe8f89ea3420dc.tar.gz gmap_arcgis-378c24c4f8958e19ffb9cf364afe8f89ea3420dc.tar.bz2 |
Increasing mapserver caching expiration time
-rw-r--r-- | gmap_arcgis.module | 2 |
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'); } } |