Author Topic: Javascripts work very slow  (Read 2509 times)


  • Freshman
  • *
  • Posts: 22
    • View Profile
Javascripts work very slow
« on: May 14, 2015, 10:16:13 am »
I have a problem with javascripts after upgrade to version 3. They work very slow. Browser don't respond around 30-60 seconds.
I suggest it depends on amount of members in Dimensions which i have used.
Is any solutions for increase  speed of javascripts?


  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Javascripts work very slow
« Reply #1 on: May 19, 2015, 12:42:00 pm »
Well, this would very much depend on the computer that you are using. What is its CPU like?

Also, how are you sure it is a JS issue and not a server side one? Have you looked into FireBug or other systems?

Best regards,
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!


  • Freshman
  • *
  • Posts: 31
    • View Profile
Re: Javascripts work very slow
« Reply #2 on: May 19, 2015, 01:08:19 pm »
Try to add this to your .htaccess file:

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

If it doesn't work, try this instead (for Apache servers):

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

This enables GZIP compression on your website.
« Last Edit: May 19, 2015, 01:12:06 pm by imendes »