Title: Clear cache for user
Last modified: November 17, 2020

---

# Clear cache for user

 *  [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/clear-cache-for-user/)
 * Hi
 * I’m caching content for logged in users.
 * Is there a function to clear the cache for a specific URL and logged in user?
 * Ie I need a function like this:
 * wp_sc_clear_url_for_user($url, $user_id);
 * If not how does super cache determine the filenane of the files it creates for
   each user? As if I knew that I could write my own function.
 * Pete

The topic ‘Clear cache for user’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/clear-cache-for-user/)
 * Status: not resolved