Michael Haschke  committed b7ae50e

[mod] do not use the chache/postoutput process if there is no info about requested application type, or if there is a special exporter provided by the triple store api)

  • Participants
  • Parent commits 61c4b64
  • Branches default

Comments (0)

Files changed (1)

File foafpressapp/core/Foafpress.php

     // event listener for "sandbox_parse_start"
     public function CheckCache($filename)
+        // only do this, if the requested apptype is know
+        if (!isset($this->extensiontype)) return;
+        $apptypes_with_store_exporters = $this->arc2_exportfunctions;
+        // do not doing this cache before post processing stuff, if the triple
+        // store api is doing its own output serialization
+        if (isset($apptypes_with_store_exporters[$this->arc2_exportfunctions])) return;
         $this->addLogMessage('Check cache for '.$filename);
         // get preferenced laguage stack from LanguageChecker plugin