stable
Clone or download
Read-only
request #8360 REST call slowness
Switch Restler to cache routes by default. This means that, unless you are in DEBUG_MODE, routes will be generated only once in (var/tmp/tuleap_cache) and if you happen to install new plugins, develop new routes, etc you will have to manually flush the cache. Hence, introduce a tool that aimes to ease administrative tasks on Tuleap server $> tuleap and, for the time being it's most (and unique) value: $> tuleap --clear-caches For production servers it will be automatically deployed in /usr/bin, for devs you will have to do it manually. Change-Id: I222885846391da1010c6afb791819bc05ed9f92e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/tests/rest/XML/ArtifactTest.php | +8 | −8 | Go to diff View file |
M | src/common/REST/BasicAuthentication.class.php | +1 | −3 | Go to diff View file |
M | src/common/autoload.php | +4 | −2 | Go to diff View file |
M | src/common/include/Combined.class.php | +7 | −1 | Go to diff View file |
A | src/common/include/RestlerCache.php | +52 | −0 | Go to diff View file |
A | src/common/include/SiteCache.php | +59 | −0 | Go to diff View file |
M | src/common/language/BaseLanguage.class.php | +18 | −9 | Go to diff View file |
M | src/common/layout/Layout.class.php | +9 | −5 | Go to diff View file |
M | src/common/plugin/PluginManager.class.php | +10 | −1 | Go to diff View file |
A | src/utils/tuleap | +3 | −0 | Go to diff View file |
A | src/utils/tuleap.php | +82 | −0 | Go to diff View file |
M | src/www/api/index.php | +3 | −1 | Go to diff View file |
M | tests/simpletest/common/language/BaseLanguageTest.php | +9 | −6 | Go to diff View file |
M | tests/simpletest/common/plugin/PluginManagerTest.php | +18 | −9 | Go to diff View file |
M | tools/rpm/tuleap.rhel6.spec | +10 | −10 | Go to diff View file |
M | tools/rpm/tuleap.spec | +11 | −10 | Go to diff View file |