If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org
to view this page for some minimal testing.
for docu changes for 1.2 and 2.0.
Item11436: HtpasswdUser creates a cache, make it a global cache
caches the contents of the htpasswd file into a local variable that is released for every transaction. The cache is valuable, especially for rest applications.
of a topic like JQueryAjaxHelper
hits the PasswordManager
As long as the code goes to the effort of creating a cache, it might as well be a global cache so that in FCGI / mod_perl environments, the file is only read during initialization, and after password changes instead of once for each transaction.
The only time to not enable the global cache:
- It adds no value unless you are running
- If you are sharing a single foswiki with multiple virtual hosts, the cache should remain per session instead of global.
for related changes.
- 11 Jan 2012
Hi George, is it okay if I cherry-pick your commit over to trunk for UnitTestContrib
- 19 Jan 2012