We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16702 ☆ A M B ☆
    • 536 Posts
    Here is some articles:

    How To Optimize Your Site With GZIP Compression
    http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/
    (is that good way?)

    Serving JavaScript Fast
    http://carsonified.com/blog/features/webapps/serving-javascript-fast/

    How To Add Good Expires Headers to Images in Apache 1.3
    http://jeremy.zawodny.com/blog/archives/009272.html

    Reducing HTTP Requests
    http://www.fiftyfoureleven.com/weblog/web-development/programming-and-scripts/reducing-http-requests


    my question is how exactly is possible in MODx to optimize "load speed"...


    Your tricks & tips smiley

    Thanks
      palma non sine pulvere
      • 14197
      • 35 Posts
      To let you know an rough experiment I’ve done recently
      Platform: double xeon 2.8G, 2G memory, 73G scsi / windows server 2003 /Apache2.0/PHP 5.2/MySQL 5.1/Modx 0.9.6.3
      [table]
      [tr][td] test case[/td][td] request/sec[/td][/tr]
      [tr][td]original[/td][td]17.3[/td][/tr]
      [tr][td]Minify(http://code.google.com/p/minify/)[/td][td]19.0[/td][/tr]
      [tr][td]Apache gzip[/td][td]17.0[/td][/tr]
      [tr][td]Squid[/td][td]17.0[/td][/tr]
      [tr][td]disable Squid, turn on APC[/td][td]37.0[/td][/tr]
      [tr][td]disable all non-vital services, turn off real time antivirus[/td][td]48.0[/td][/tr]
      [tr][td]disable APC[/td][td]31.9[/td][/tr]
      [tr][td]optimize js code[/td][td]36.0[/td][/tr]
      [tr][td]export to static[/td][td]2859[/td][/tr]
      [/table]

      So optimization rule no 1: export to static html whenever possbile!
      Gzip requires some cpu time and in my case didn’t increase the server throughput, but it cuts down the file size a lot(from 24k to 7k) and when tested from a remote client does have a significant impact on performance( from 9.5 pages/sec to 16.5 pages/sec)
      APC is very useful but unstable with Modx (I will try it later)
      Write your js code optimally and use Minify will definitely help too

      As for cutting down the load time, I’ve seen some posts in the forum on hacking Modx core (e.g, remove entries from site cache), those methods will definitely help if you want to push you Modx site to the limit smiley
        • 16702 ☆ A M B ☆
        • 536 Posts
        Hello jim,


        i read your post about optimization and MODx limit...nice articles.

        maybe one of options is http://nginx.org/
        i read about Apache - is slow server (some sys admins make miracles with nginX)
          palma non sine pulvere