Ignore my plugin please?
-
I have a plugin that I use to check if a cookie exists or not. If it doesn’t I set depending if the article the user is reading is a free article or not. If they have read 2 articles in a day they get redirect to a page to ask them to sign up/donate to the website. Quite simple.
I installed W3Total cache to get the site running well. With page cache and object cache running the site runs fast, but my plugin doesn’t always get called.
I would love it if we could ignore my plugin file when caching. And I have entered this in to the Page cache setting “Never cache the following pages”:
wp-content/plugins/elephantMember/elephant.php
I also entered
wp-content/plugins/elephantMember/elephant\.php
just in case it didn’t like the fullstop. Also I entered
elephant.php elephant\.php
How do I stop W3 Total cache from caching my plugin? I am on Windows, using WinCache.
- The topic ‘Ignore my plugin please?’ is closed to new replies.