Hi @yworld,
We don’t have a filter for that because the plugin’s API (actions/filters) is utilized at a later stage in WordPress’s execution process.
As a workaround, you may want to set a specific cookie based on $_SERVER['HTTP_REFERER'] and configure Powered Cache to skip serving cached pages for that cookie.
I hope this helps.
Thread Starter
Yworld
(@yworld)
Thank you @m_uysl, everything is clear, I’ll try.
You’re welcome, I just opened an issue in regards this feature btw – https://github.com/poweredcache/powered-cache/issues/150
While I don’t have an ETA yet, but it can be a good feature.
@yworld just a quick update, with Powered Cache 3.6 now you can add rejected referrers in the Advanced Options. I hope you find it useful.
Thread Starter
Yworld
(@yworld)
@m_uysl Thank you for your work, I will try to take advantage of this opportunity in the near future.