»

LJ::handle_caches

LJ::handle_caches — clears caches if the CLEAR_CACHES flag is set from an earlier HUP signal that called LJ::clear_caches, otherwise does nothing.

Use

LJ::handle_caches

Source:

cgi-bin/ljlib.pl

Returns:

true (always) so you can use it in a conjunction of statements in a while loop around the application like: while (LJ::handle_caches() && FCGI::accept())