We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28309
    • 12 Posts
    problem back ground

    I am using modxcms vs 9.6.1, I am using linux server with 5 gb ram with more then 128mb for php.
    I also enabled the  friendly url.

    My Application creates minimum of 10 documents dynamically for each new user when user register himself. Later user can add new documents himself.

    Now if my  web user  count increases to 10,000 then their will be minimum of 1,00,000 document in modx_site_content table.

    My Every document  is set for non cacheble as per the suggestions found  by googling.
    As of now their is nearly  5000 documents. I have optimized apache, mysql, php code for the efficient and fast performance.

    Problem description

    When ever a user registers or creates a new document the site get’s unresponsive for all the user’s using it.
    After a long struggle we found that when ever a new document is published we are required to clear and rebuild the cache for reflecting the friendly url changes. the rebuilding is the 15 to 35 sec process. but when n of users are creating and publishing new documents simultaneously or in gap of very short duration , the site become unresponsive.

    My Question

    Q1. How I can  disable the cache completely. I do not want to use it?

    Q2. Can i use external cache application like APC or zend cache for this purpose. Will it boost the performance and stop hanging? if yes, then how i can integrate it with modx?

    Q3. If cache cannot be disbabled then How I can stopped such hanging?

    Q4. At present the cache clear and rebuild is required. It is done through coding, using the modx inbuild function only.
    If this is not done then makeurl function of modx object builds faulty friendly url. Is their any solution for this?


    I have also visited to  http://modxcms.com/forums/index.php/topic,13340.0.html as it is of similar problem. but no solution was find their also.


    Please help me.





      • 4041
      • 788 Posts
      Perhaps this thread can help with your situation:

      http://modxcms.com/forums/index.php/topic,28110.0.html
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 28309
        • 12 Posts
        Dear Breezer,
        Thanks for your quick response,  I will look it closely and try to implement the suggestion their in the link.
        But as i am not going to migrate to new modx version . So i need to check for how to remove 5000 document limit.
        Suggestions are heartly welcomed.
          • 22303 MODX Staff
          • 10,725 Posts
          The kind of granularity you are looking for in caching options is only available in the upcoming Revolution release. We have no plans to implement this kind of functionality in Evolution releases, as the effort would be akin to rewriting much of the core, duplicating the efforts of Revolution.