Permalink
Browse files

MDL-25290 cache_static: Added default static cache store

  • Loading branch information...
1 parent d7f1f57 commit 5f2836e6ccd2d1c41f54cfd4daf9a1c2ed3fa0fd Sam Hemelryk committed Sep 10, 2012
Showing with 480 additions and 0 deletions.
  1. +31 −0 cache/stores/static/lang/en/cache_static.php
  2. +417 −0 cache/stores/static/lib.php
  3. +32 −0 cache/stores/static/version.php
@@ -0,0 +1,31 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * The library file for the static cache store.
+ *
+ * This file is part of the static cache store, it contains the API for interacting with an instance of the store.
+ * This is used as a default cache store within the Cache API. It should never be deleted.
+ *
+ * @package cache_static
+ * @category cache
+ * @copyright 2012 Sam Hemelryk
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') || die();
+
+$string['pluginname'] = 'Static request cache';
Oops, something went wrong. Retry.

0 comments on commit 5f2836e

Please sign in to comment.