##// END OF EJS Templates
diffs: optimize how lexer is fetche for rich highlight mode....
diffs: optimize how lexer is fetche for rich highlight mode. - speeds up initial diff creation significantly since lexer cache is re used and we don't need to fetch lexer many times.

File last commit:

r1:854a839a default
r1356:1e4a47eb default
Show More
tuning-increase-cache-size.rst
17 lines | 602 B | text/x-rst | RstLexer
/ docs / admin / tuning-increase-cache-size.rst
project: added all source files and assets
r1 .. _cache-size:
Increase Cache Size
-------------------
When managing hundreds of |repos| from the main |RCE| interface the system
can become slow when the cache expires. Increasing the cache expiration
option improves the response times of the main user interface.
To increase your cache size, change the following default value in the
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file. The value
is specified in seconds.
.. code-block:: ini
beaker.cache.long_term.expire=3600 # day (86400) week (604800)
.. note:: The |RCE| cache automatically expires for changed |repos|.