[Mapbender-commits] r10209 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Aug 14 07:09:57 PDT 2019


Author: armin11
Date: 2019-08-14 07:09:57 -0700 (Wed, 14 Aug 2019)
New Revision: 10209

Modified:
   trunk/mapbender/http/php/mod_linkedDataProxy.php
Log:
Fix - reactivate chache

Modified: trunk/mapbender/http/php/mod_linkedDataProxy.php
===================================================================
--- trunk/mapbender/http/php/mod_linkedDataProxy.php	2019-08-14 14:03:34 UTC (rev 10208)
+++ trunk/mapbender/http/php/mod_linkedDataProxy.php	2019-08-14 14:09:57 UTC (rev 10209)
@@ -494,8 +494,8 @@
 //test
 //$e = new mb_exception("filter: ".$filter);
 		        //write number of features to ram cache:
-		        //if ($cache->isActive) {
-		        if (false) {
+		        if ($cache->isActive) {
+		        //if (false) {
 		            if ($cache->cachedVariableExists(md5("count_".$wfsid."_".$collection."_".md5($filter))) == false) {
 		                $numberOfObjects = $wfs->countFeatures($collection, $filter);
 		                $cache->cachedVariableAdd(md5("count_".$wfsid."_".$collection."_".md5($filter)), $numberOfObjects);



More information about the Mapbender_commits mailing list