Per site settings ? #67

Open
opened 2018-06-22 08:32:55 +01:00 by mbautista · 3 comments
mbautista commented 2018-06-22 08:32:55 +01:00 (Migrated from github.com)

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 :)

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 :)
hussong commented 2018-08-10 09:12:03 +01:00 (Migrated from github.com)

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).

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).
mbautista commented 2019-11-19 11:23:45 +00:00 (Migrated from github.com)

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 :)

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 :)
hussong commented 2019-11-20 10:18:45 +00:00 (Migrated from github.com)

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 ?

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.

> 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 ? 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: petermolnar/wp-ffpc#67
No description provided.