Title: Cacheing problem
Last modified: August 20, 2016

---

# Cacheing problem

 *  Resolved [jmahony](https://wordpress.org/support/users/jmahony/)
 * (@jmahony)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/cacheing-problem/)
 * Hi,
 * I wonder if you can help.
 * I’m having a caching problem, each time a user is added or edited the changes
   are not reflected on the back or front end. Is it possible to call your plugins
   cacheing function every time a user is added or modified?
 * I was thinking about hooking into
    delete_user set_current_user profile_update
   profile_personal_options personal_options_update
 * Do you think this would solve the issue?
 * Regards,
 * Josh
 * [http://wordpress.org/extend/plugins/amr-users/](http://wordpress.org/extend/plugins/amr-users/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/cacheing-problem/#post-3213567)
 * Hi Josh,
 * the plugin does already have that as an option. Please check your cache settings
   and Read carefully:
    [http://wpusersplugin.com/3458/cacheing-amr-users/](http://wpusersplugin.com/3458/cacheing-amr-users/)
 * One can request cache updates and it will then trigger on
    add_action(‘profile_update’,’
   amr_user_change’); add_action(‘user_register’,’amr_user_change’); add_action(‘
   deleted_user’,’amr_user_change’); // also for wpmu add_action(‘added_user_meta’,’
   amr_user_meta_change’); add_action(‘updated_user_meta’,’amr_user_meta_change’);
   add_action(‘deleted_user_meta’,’amr_user_meta_change’); add_action(‘make_spam_user’,’
   amr_user_meta_change’); add_action(‘make_ham_user’,’amr_user_meta_change’); add_action(‘
   remove_user_from_blog’,’amr_user_change’); add_action(‘add_user_to_blog’,’amr_user_change’);
 * Note it can be dangerous (add load to your system if you have frequent users 
   updates).
 * PLease note that it does it in background report by report and you need web activity
   for wordpress cron to run, so sometimes it may appear to you testing that updates
   are not happening – use a cron manager, check the logs and stats.
 *  Thread Starter [jmahony](https://wordpress.org/support/users/jmahony/)
 * (@jmahony)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/cacheing-problem/#post-3213570)
 * Thanks for the reply Anmari,
 * I think the problem I’m running into is the list not being updated because s2member
   does not store its custom fields normally, therefore the list is not being updated.
 * Do you know of a hook when the users custom fields are updated in s2members.
 * Regards,
 * Josh
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/cacheing-problem/#post-3213572)
 * Nope – you will have to ask the s2member people. If they have a hook on their
   update, then you can add a little site specific plugin that just does
 * add_action(‘s2updatehook’,’amr_user_change’);
 * Alternatively, change settings to show the ‘refresh’ button so people can request
   a refresh of the user list themselves when needed
    and/or set more frequent auto
   update.
 * OR use one of the other plugins for user data thatdoes use the wordpress hook
   and data they way they should be.
 * I think advanced fields – something like that was one.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cacheing problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-users_f6f6f4.svg)
 * [amr users](https://wordpress.org/plugins/amr-users/)
 * [Support Threads](https://wordpress.org/support/plugin/amr-users/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-users/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [anmari](https://wordpress.org/support/users/anmari/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/cacheing-problem/#post-3213572)
 * Status: resolved