Hello I use MODX 2.1.5-pl Revolution at a site of my client. As soon as someone makes any changes to the site will slow down a lot. As I understand it should be for the MODx cache that is continually reset any changes a user? I disabled cache_db but nothing changes. I tried to do the upgrade to 2.2, change the server but the result is the same hang one makes a change the site you slow, 7-10 seconds to load a page. Is there a way to disable this cache hell?
MODx Evolution has always worked fine.
-
☆ A M B ☆
- 711 Posts
What environment and server spec are you running the site on? Do you notice any CPU issues at the time of saving ?
Thanks
-
MODX Staff
- 10,725 Posts
Sounds like your Resources may contain some Snippets that are taking way too long when not yet cached. Optimizing these is the only obvious solution to the problem, other than making sure your environment is not the cause.
You can often speed things up a lot by replacing output modifiers with snippets and cutting down on the number of TVs. A complex getResources call can also slow things down quite a bit.
---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODX info for everyone:
http://bobsguides.com/modx.html
You can give me an example for optizmize e code of modx?
Can you post the Resource Content field of one of your slower pages?
---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODX info for everyone:
http://bobsguides.com/modx.html
I don't have a problem with a page but with all site. I suspect I use wayfinder for all menus and top side, could be the problem? that wayfinder is too slow, but do I upgrade?
I think you need to isolate the problem, try to rename or remove the chunks/snippets one by one and test the site speed until you find the culprit.
Quote from: cristianb88 at Feb 24, 2012, 09:13 AMI don't have a problem with a page but with all site. I suspect I use wayfinder for all menus and top side, could be the problem? that wayfinder is too slow, but do I upgrade?
Right. That's why I asked you to post *one* of your slower pages. We can't really help you without knowing more about what is on your typical pages.
It would also help to see the template.
---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODX info for everyone:
http://bobsguides.com/modx.html