Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it really necessary to flush entire site cache on XMLRPC request? #54

Open
redemption opened this issue Oct 3, 2013 · 1 comment

Comments

@redemption
Copy link

The line here:

https://github.com/pkhamre/wp-varnish/blob/master/wp-varnish.php#L111

// When xmlRPC call is made
add_action('xmlrpc_call',array($this, 'WPVarnishPurgeAll'), 99);

Causes the entire site to be flushed with fairly high frequency on Wordpress installs where users use mobile apps to submit stories. Is it really necessary? There are already highly targetted hooks that purge specific pages when an article is added, deleted, etc.

@pothi
Copy link
Contributor

pothi commented Nov 6, 2013

+1 to hide / comment out this line by default. Let users enable it, if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants