Ad Widget

Collapse

All ZABBIX pages are very slow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vedmak
    Member
    • Feb 2009
    • 34

    #16
    Should be fixed in https://support.zabbix.com/browse/ZBX-3080, you can test in dev branch.

    Comment

    • zigli
      Junior Member
      • May 2009
      • 11

      #17
      Originally posted by sarchitect
      Quick fix,

      Open up jsLoader.php and add the following line AFTER <?php

      ob_start('ob_gzhandler');


      This requires that your Apache understand the GZIP compression, most of the time this won't be a problem.

      This solution dropped the loading of jsLoader.php within acceptable range of 1 second.

      This works for me! Thanks!
      before
      324.9 KB ->2.41s
      now
      73.7 KB -> 375ms

      Comment

      • gedp
        Member
        • May 2006
        • 47

        #18
        Apache compression

        I would think this is the same as using the apache compression. You can add the following to the httpd.conf file. This is what we had running.
        I now also added the ob_start to jsLoader.php but did not notice any difference on top of the apache compression. Should I?

        < <Location />
        < # Insert filter
        < SetOutputFilter DEFLATE
        < # Netscape 4.x has some problems...
        < BrowserMatch ^Mozilla/4 gzip-only-text/html
        < # Netscape 4.06-4.08 have some more problems
        < BrowserMatch ^Mozilla/4\.0[678] no-gzip
        < # MSIE masquerades as Netscape, but it is fine
        < # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        < # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
        < # the above regex won't work. You can use the following
        < # workaround to get the desired effect:
        < BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
        < # Don't compress images
        < SetEnvIfNoCase Request_URI \
        < \.(?:gif|jpe?g|png)$ no-gzip dont-vary
        < # Make sure proxies don't deliver the wrong content
        < Header append Vary User-Agent env=!dont-vary
        < </Location>

        Comment

        Working...