We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1061
    • 81 Posts
    Version is Revolution 2.0.7-pl (traditional).
    I have payable hosting on nginx/0.6.32
    They have some security settings
    'large_client_header_buffers' = 256

    I have in one folder/resource more then 100 documents and then I tried to edit I have an error - 400 Bad Request

    Header is more then 256, he is 4k.
    ys-modx-resource-tree = "some_text" (4k)


    They(hoster) can’t change this settings.
    Did anybody know how to workaround?

    P.S. some additional tech details(not mine) on bugtraq
      • 1061
      • 81 Posts
      The first my solution is separate documents for 50pcs in separate folders/containers.
      But above all I have slowly performance.

      Query Time: 0.0000 s - Shows how long MODx took talking to the database
      Query Count: 0 - Shows how many database queries MODx made
      Parse Time: 15.8046 s - Shows how long MODx took to parse the page
      Total Time: 15.8046 s - Shows the total time taken to parse/ render the page
      Source: database - Shows the source of page, whether is database or cache

      how can this be?


      IE8(x32)

      Query Time: 0.0333 s
      Query Count: 1
      Parse Time: 8.8494 s
      Total Time: 8.8827 s
      Source: database
      ------

      IE8(x32), After clear cache

      Query Time: 0.0000 s
      Query Count: 0
      Parse Time: 8.6439 s
      Total Time: 8.6439 s
      Source: database
      ------

      IE8(x32)

      Query Time: 0.0000 s
      Query Count: 0
      Parse Time: 8.0785 s
      Total Time: 8.0785 s
      Source: cache
      ------

      Chrome 12 dev, After clear cache

      Query Time: 0.0000 s
      Query Count: 0
      Parse Time: 8.2229 s
      Total Time: 8.2229 s
      Source: database
      ------

      Chrome 12 dev

      Query Time: 0.0000 s
      Query Count: 0
      Parse Time: 6.9966 s
      Total Time: 6.9966 s
      Source: cache
        • 4172
        • 5,888 Posts
        your snippet-calls? chunk-contents etc.
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 1061
          • 81 Posts
          I use one snippet "getResources".
          [[!getResources? &tpl=`table` &hideContainers=`1` &limit=`0` &parents=`2` &includeContent=`0` &processTVs=`1` &includeTVs=`1` &sortby=`menuindex` &sortdir=`ASC`]]

          Documents in container #2 have a 5 TV’s:
          3 of them are text fields,
          1 are image,
          1 are dropdown list(7 text variables)

          the chunk of tpl is simple
          <tr>
           <td>[[+tv.code]]</td>
           <td>[[+tv.type]]</td>
           <td>[[+tv.address]]</td>
           <td>[[+tv.price]]</td>
           <td><a target="_blank" href="[[+tv.photo]]">photo</a></td>
          </tr>



          P.S. The error log is empty.