liferay性能の向上

2051 ワード

転載元:http://www.liferay.com/web/wanpeng/blog/-/blogs/777189
liferay性能の向上
By Gavin Wan,On 5/7/08 6:28 AM
いつもliferayの性能の苦情を耳にするようです.オープンソースのソフトウェアの中では、これは理解しにくくないです.共用のパソコンを使いたいです.oracleを使って上にoracleを載せたり、DB 2を使ってDB 2を入れたりする人がいます.これらのサービスは起動が自然に遅くなります.私たちがしたいのは、使えない機能や開発者のデバッグを止めることです.
  • 速度関連パラメータを起動します.自動的にデータベース構造を作成する必要がないときは、このオプションを停止できます.
  • #
      # Set this to true to automatically create tables and populate with default
      # data if the database is empty.
      #
      schema.run.enabled=false
          luenceインデックスを再構築する必要がない場合##Lucene Search
    #Set the following to true if you want to index your entire library of files on startup.
    index.on.startup=false
     
  • 運転時の性能を向上させる
  •       ラyout cacheを開く# The layout cache filter will cache pages to speed up page rendering for
    # guest users. See ehcache.xml to modify the cache expiration time to live.
    com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter=true
     
         圧縮javascriptファイル# Set this property to true to load the combined JavaScript files from the
    # property "javascript.files" into one compacted file for faster loading for
    # production. Set this property to false for easier debugging for
    # development. You can also disable fast loading by setting the URL
    # parameter "js_fast_load" to "0".
    javascript.fast.load=true
     
         cssファイルを圧縮する# Set this property to true to load the theme's merged CSS files for faster
    # loading for production. Set this property to false for easier debugging
    # for development. You can also disable fast loading by setting the URL
    # parameter "css_fast_load" to "0".
    theme.css.fast.load=true
     
        vmテンプレートcacheを開く
       # Set this to true in production so that VM templates are cached
      velocity.engine.resource.manager.cache.enabled=true

     
    また、aut.deploy.enabledのような属性が必要でないときにもオフでき、システムスキャンのオーバーヘッドを低減することができます.