bloch
10-13-2004, 08:20 AM
The lps-2.2 distributions ship with a large number of pre-cached/compiled applications.
In 2.2, loading these caches is what takes the majority of the startup time and we're hoping to improve this in a future version.
With 2.2, if you're not in need of having the docs examples and demos precompiled, you can safely remove the large caches and your server will startup much more quickly. -- on some platforms it will actually save minutes of time (ok, we're embarassed here).
The caches are described in some minimal detail in the deployer's chapter of the developer's guide.
http://www.laszlosystems.com/lps-2.2/docs/guide/deployers-guide.html
(I believe the scache is not currently described).
If the server is not running, you can simply remove
.../lps-2.2/WEB-INF/lps/work/scache and
.../lps-2.2/WEB-INF/lps/work/cache
If the server is running, you can either
(a) use the administrative console app to clear all the caches or (b) use ?lzt=clearcache and the (possibly not documented) additional querystring to specify which caches to clear:
?lzt=clearcache&cache=compilation,script
cache query string can take comma separated values:
compilation
script
media
data
Best,
-Eric
In 2.2, loading these caches is what takes the majority of the startup time and we're hoping to improve this in a future version.
With 2.2, if you're not in need of having the docs examples and demos precompiled, you can safely remove the large caches and your server will startup much more quickly. -- on some platforms it will actually save minutes of time (ok, we're embarassed here).
The caches are described in some minimal detail in the deployer's chapter of the developer's guide.
http://www.laszlosystems.com/lps-2.2/docs/guide/deployers-guide.html
(I believe the scache is not currently described).
If the server is not running, you can simply remove
.../lps-2.2/WEB-INF/lps/work/scache and
.../lps-2.2/WEB-INF/lps/work/cache
If the server is running, you can either
(a) use the administrative console app to clear all the caches or (b) use ?lzt=clearcache and the (possibly not documented) additional querystring to specify which caches to clear:
?lzt=clearcache&cache=compilation,script
cache query string can take comma separated values:
compilation
script
media
data
Best,
-Eric