質問

I'm using ExtJs 4 ,Java & hibernate to develope a web application. Controller is Struts 1 Front end is completely in Extjs4. I'm facing the issue: slow loading of first page.Sometimes it takes 1 or 2 minutes. Till Now i included complete Extjs4 files that having size 49 MB in my application.

役に立ちましたか?

解決

You need 3 files for a working ExtJS system:

Development:

  • ext-all-dev.js
  • one language file from the locale folder (e.g. ext-lang-en_GB.js)
  • one theme file from the resources/css folder (e.g. ext-all-neptune-debug.css)

Productive:

  • ext-all.js
  • one language file from the locale folder (e.g. ext-lang-en_GB.js)
  • one theme file from the resources/css folder (e.g. ext-all-neptune.css)

the development files are not minified so you see where an exception occurs.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top