Title: Cache plugin compatibility
Last modified: November 6, 2019

---

# Cache plugin compatibility

 *  Resolved [Rodrigo Gomes](https://wordpress.org/support/users/rodrigogomes-1/)
 * (@rodrigogomes-1)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-plugin-compatibility/)
 * Hello,
 * I’m a WordPress plugin developer and am trying to add compatibility of my plugin
   with your plugin.
 * Specifically the renamed login page function.
 * I’m trying to identify when the user is in the custom login page, not to the 
   page cache, but without success.
 * I tried all the methods on this page: [https://wordpress.stackexchange.com/questions/12863/check-if-wp-login-is-current-page](https://wordpress.stackexchange.com/questions/12863/check-if-wp-login-is-current-page)
 * Or maybe you want to make things easier for us and set DONOTCACHEPAGE on the 
   login page.
 * DONOTCACHEPAGE is compatible with most cache plugins:
    * WP Super Cache * W3 
   Total Cache * WP Rocket * Autoptimize * SG Optimizer * Comet Cache
 * Thanks.

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-plugin-compatibility/#post-12104717)
 * Thank you for reaching out to us. The plugin developers will investigate further
   your request/question.
 * Kind regards
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-plugin-compatibility/#post-12106400)
 * Hi,
    Most of the caching plugins have a setting where people can add URLs or 
   URL keywords of pages which they want to exempt for caching. Does your plugin
   have such a setting and if so have you asked your users to enter their hidden
   login page URL in that setting?
 *  Thread Starter [Rodrigo Gomes](https://wordpress.org/support/users/rodrigogomes-1/)
 * (@rodrigogomes-1)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-plugin-compatibility/#post-12107517)
 * My plugin does not have this setting.
 * You have no interest in the renamed login page for your plugin compatible with
   most of the caching plugins?
 * It’s so simple, just add the code below to that specific page and you’re done.
 * `define( "DONOTCACHEPAGE", true );`
 * Thanks.
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/cache-plugin-compatibility/#post-12109421)
 * > You have no interest in the renamed login page for your plugin compatible with
   > most of the caching plugins?
 * I’m not sure how you came to that conclusion based on my single question regarding
   your plugin settings file.
 * The rename login page code which renders the WP login page is essentially the
   same as the core version of wp-login.php (bar a few minor differences).
    I would
   prefer to keep it as close as possible to the core version if it can be helped.
   Having said that I am open to accommodating your request. It might be best if
   you contact me offline (see my profile) and we can explore the available options
   and I’m sure we can mutually come up with something.

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

The topic ‘Cache plugin compatibility’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [DONOTCACHEPAGE](https://wordpress.org/support/topic-tag/donotcachepage/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [rename](https://wordpress.org/support/topic-tag/rename/)

 * 4 replies
 * 3 participants
 * Last reply from: [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/cache-plugin-compatibility/#post-12109421)
 * Status: resolved