"Fossies" - the Fresh Open Source Software archive

Member "htmlpurifier-4.6.0/docs/dev-flush.html" (30 Nov 2013, 2652 Bytes) of archive /linux/www/htmlpurifier-4.6.0.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

Flushing the Purifier

Filed under Development
Return to the index.
HTML Purifier End-User Documentation

If you've been poking around the various folders in HTML Purifier, you may have noticed the maintenance 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.

As a general rule of thumb, run flush.php whenever you make any major changes, or when tests start mysteriously failing. In more detail, run this script if:

You can check out the corresponding scripts for more information on what they do.