Set DONOTCACHEPAGE on specific pages using plugin
-
Hi,
I’m trying to write a plugin that will allow me to authenticate users against an LDAP server so that they can view a protected resource. I’m running into trouble because WP Super Cache is server cached files to these users once they’ve authenticated. I can’t make them all WordPress users — there are too many, and this is the only thing most of them will need to authenticate to view.
I’ve tried setting
DONOTCACHEPAGEtotruein theinitaction, but it seems that’s too late — by that point the cached file has been served to the user.I’m using PHP caching, and I’ve got caching turned off for logged-in WP users.
Any suggestions?
The topic ‘Set DONOTCACHEPAGE on specific pages using plugin’ is closed to new replies.