Menys d'un minut de lectura
似乎总能听到liferay性能的抱怨, 在一个开源软件中这其实不难理解,就想一台公用的电脑,有人用oracle就在上面装个oracle,有人用DB2就又装了一个DB2…… 这些服务都启动自然就会慢。我们要做的就是停掉一些用不到的功能和方便开发人员debug的一些选项。
- 启动速度相关参数:
在不需要自动创建数据库结构的时候可以停掉此项:
# |
在不需要重新建立luence索引时
##Lucene Search |
- 提高运行时性能
开启layout cache
# The layout cache filter will cache pages to speed up page rendering for |
压缩javascript文件
# Set this property to true to load the combined JavaScript files from the |
压缩 css 文件
# Set this property to true to load the theme's merged CSS files for faster |
开启vm模板cache
# Set this to true in production so that VM templates are cached |
还有一些像auto.deploy.enabled这样的属性在不需要的时候也可以关闭,减少系统扫描的开销。
Related Assets...
No s'ha trobat cap resultat
More Blog Entries...
Community
Company
Feedback

