Hi guys,
I have MODx revo working on a load balanced enviornment using the code opengeek included using modRegistry.
I'm using a combination od memcached for resourceCache and file cache for everything else.
I have setup my "clearCache" plugin to run when the user presses the "clear cache" button, or when they Publish or Unpublish a resource. This is working well.
The problem I have encountered is with the cache expiration time not working.
If the user sets a Publish and Unpublish time, MODx is missing the unpublish times as I believe they are being cached?
As a solution I thought I could set:
cache_expires = 120 (and tune this figure) to sort this issue.
This however does not work, as the web nodes are ignoring it.
The cache never gets cleared unless I press Clear cache or Publish and Unpublish
I am weary of attaching opengeeks code to the save resource event due to overhead?
Can anyone help? Why would the individual web nodes ignore the cache expire set in system settings in the manager?
This is the last part in what was a complicated puzzle

Thanks in advance!
J
[ed. note: jusmeig last edited this post 14 years, 10 months ago.]