Per site settings ? #67
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
Thank you for this awesome plugin ! It really rocks ! :)
We use this plugin on a wp network with hundreds of websites, and we would like to know whether it's possible to configure some settings per site ?
For example, we would like to turn on cache warmup, but only for a specific website, it is possible ? Could someone give any hint for doing this ?
Thank you very much :)
When you site-activate the plugin, you have settings per site (we're using this for a Network with 10 WooCommerce-Shops, where the cache exceptions vary by language).
The settings you save on the backend are written to /wp-content/advanced-cache.php, so you can also go the other way round: generate the file using your own scripts and deploy it.
The plugin's cache warmup is pretty basic, and it might be easier to run your own warmup script (ours just parses the sitemap xmls and requests the URLs in it).
Thank you for your answer :)
Another question : When the plugin is network enabled, is there a way for a simple admin (not super admin) to clear his own website cache ?
Also : the cache invalidation method "modified post and all related taxonomies" throws an error on wp-admin when we try to create a new post :
PHP Warning: Illegal offset type in /path/to/wordpress/wp-content/plugins/wp-ffpc/wp-ffpc-backend.php on line 389 PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /path/to/wordpress/wp-content/plugins/wp-ffpc/wp-ffpc-backend.php on line 392 GET /wp-admin/post-new.php
Thank you :)
Not sure if it works OOTB, but it can be built. I can't comment on the specifics (because someone else built the feature), but we put a custom button (link) in the admin bar to flush and rebuild the page cache, and even shop managers can push it.