We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8168
    • 1,118 Posts
    Quote from: dfunk006 at Jul 11, 2013, 01:35 PM
    You can create a php file (phpinfo.php) with the following code:

    <!--?php 
    	phpinfo();
    ?-->


    Upload the file on your server (where your index.php file is) and call it as follows: http://yourdomainname.com/phpinfo.php

    There you can search for 'APC' and 'XCache' to see if it is installed.

    Just checked and no references to either "APC" or "XCache" in my phpinfo... sorry...
    • discuss.answer
      • 8168
      • 1,118 Posts
      Upgrading to newer versions of MODx here proved very problematic due to the size of site and bespoke use of code and plugins - I therefore plumped for a different solution to this issue. I found here http://www.dangibbs.co.uk/journal/clear-modx-revolution-cache-from-php-script a solution whereby one can create a PHP file to sit in the site directory which when called, clears the cache of the site from outside of the manager - e.g. no need to login to do it each time... I will then work out a way to call this page every few days to auto-clear the cache and therefore remove this caching issue I have...

      A bit of a dirty solution... but it works...
        • 37104
        • 19 Posts
        I have similar issues, although mine is homepage related, not blog related. You might try BobRay's plugin to clear the cache from outside the manager as well: http://modx.com/extras/package/cacheclear and if you can set up a cron job with your host, that should enable you to run the script every few hours or whatever.
          The older I get, the faster I was.

          http://www.evanchute.com/
          • 8168
          • 1,118 Posts
          Quote from: full at Jul 23, 2013, 06:15 PM
          I have similar issues, although mine is homepage related, not blog related. You might try BobRay's plugin to clear the cache from outside the manager as well: http://modx.com/extras/package/cacheclear and if you can set up a cron job with your host, that should enable you to run the script every few hours or whatever.

          Thanks Evan, looks like a similar solution to the one I mentioned here > http://www.dangibbs.co.uk/journal/clear-modx-revolution-cache-from-php-script. Good spot!