modx - disable cache

  1. Create new plugin.
    insert code in your new plugin:
    $modx->documentObject[’cacheable’] = 0;
  2. in tab events - check OnLoadWebDocument
  3. clear site cache (rm core/cache/* -R or via manager)