aboutsummaryrefslogtreecommitdiffstats
path: root/lib/htmlpurifier/docs/dev-flush.html
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-12 17:57:41 -0700
committerfriendica <info@friendica.com>2012-07-18 20:40:31 +1000
commit7a40f4354b32809af3d0cfd6e3af0eda02ab0e0a (patch)
treea9c3d91209cff770bb4b613b1b95e61a7bbc5a2b /lib/htmlpurifier/docs/dev-flush.html
parentcd727cb26b78a1dade09d510b071446898477356 (diff)
downloadvolse-hubzilla-7a40f4354b32809af3d0cfd6e3af0eda02ab0e0a.tar.gz
volse-hubzilla-7a40f4354b32809af3d0cfd6e3af0eda02ab0e0a.tar.bz2
volse-hubzilla-7a40f4354b32809af3d0cfd6e3af0eda02ab0e0a.zip
some important stuff we'll need
Diffstat (limited to 'lib/htmlpurifier/docs/dev-flush.html')
-rw-r--r--lib/htmlpurifier/docs/dev-flush.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/lib/htmlpurifier/docs/dev-flush.html b/lib/htmlpurifier/docs/dev-flush.html
new file mode 100644
index 000000000..4a3a78351
--- /dev/null
+++ b/lib/htmlpurifier/docs/dev-flush.html
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="description" content="Discusses when to flush HTML Purifier's various caches." />
+ <link rel="stylesheet" type="text/css" href="./style.css" />
+ <title>Flushing the Purifier - HTML Purifier</title>
+</head>
+<body>
+
+<h1>Flushing the Purifier</h1>
+
+<div id="filing">Filed under Development</div>
+<div id="index">Return to the <a href="index.html">index</a>.</div>
+<div id="home"><a href="http://htmlpurifier.org/">HTML Purifier</a> End-User Documentation</div>
+
+<p>
+ If you've been poking around the various folders in HTML Purifier,
+ you may have noticed the <code>maintenance</code> directory. Almost
+ all of these scripts are devoted to flushing out the various caches
+ HTML Purifier uses. Normal users don't have to worry about this:
+ regular library usage is transparent. However, when doing development
+ work on HTML Purifier, you may find you have to flush one of the
+ caches.
+</p>
+
+<p>
+ As a general rule of thumb, run <code>flush.php</code> whenever you make
+ any <em>major</em> changes, or when tests start mysteriously failing.
+ In more detail, run this script if:
+</p>
+
+<ul>
+ <li>
+ You added new source files to HTML Purifier's main library.
+ (see <code>generate-includes.php</code>)
+ </li>
+ <li>
+ You modified the configuration schema (see
+ <code>generate-schema-cache.php</code>). This usually means
+ adding or modifying files in <code>HTMLPurifier/ConfigSchema/schema/</code>,
+ although in rare cases modifying <code>HTMLPurifier/ConfigSchema.php</code>
+ will also require this.
+ </li>
+ <li>
+ You modified a Definition, or its subsystems. The most usual candidate
+ is <code>HTMLPurifier/HTMLDefinition.php</code>, which also encompasses
+ the files in <code>HTMLPurifier/HTMLModule/</code> as well as if you've
+ <a href="enduser-customize.html">customizing definitions</a> without
+ the cache disabled. (see <code>flush-generation-cache.php</code>)
+ </li>
+ <li>
+ You modified source files, and have been using the standalone
+ version from the full installation. (see <code>generate-standalone.php</code>)
+ </li>
+</ul>
+
+<p>
+ You can check out the corresponding scripts for more information on what they
+ do.
+</p>
+
+</body></html>
+
+<!-- vim: et sw=4 sts=4
+-->