Update wpce options
This commit is contained in:
@@ -592,16 +592,16 @@ def setupwordpress(self, data, vhostonly=False):
|
|||||||
"""Install Cache-Enabler"""
|
"""Install Cache-Enabler"""
|
||||||
if data['wpce']:
|
if data['wpce']:
|
||||||
installwp_plugin(self, 'cache-enabler', data)
|
installwp_plugin(self, 'cache-enabler', data)
|
||||||
plugin_data_object = {"expires": 24,
|
plugin_data_object = {"cache_expires": 24,
|
||||||
"new_post": 1,
|
"clear_site_cache_on_saved_post": 1,
|
||||||
"new_comment": 0,
|
"clear_site_cache_on_saved_comment": 0,
|
||||||
"webp": 0,
|
"convert_image_urls_to_webp": 0,
|
||||||
"clear_on_upgrade": 1,
|
"clear_on_upgrade": 1,
|
||||||
"compress": 0,
|
"compress_cache": 1,
|
||||||
"excl_ids": "",
|
"excluded_post_ids": "",
|
||||||
"excl_regexp": "",
|
"excluded_query_strings": "",
|
||||||
"excl_cookies": "",
|
"excluded_cookies": "",
|
||||||
"incl_attributes": "",
|
"minify_inline_css_js": 1,
|
||||||
"minify_html": 1}
|
"minify_html": 1}
|
||||||
plugin_data = json.dumps(plugin_data_object)
|
plugin_data = json.dumps(plugin_data_object)
|
||||||
setupwp_plugin(self, 'cache-enabler', 'cache-enabler',
|
setupwp_plugin(self, 'cache-enabler', 'cache-enabler',
|
||||||
|
|||||||
Reference in New Issue
Block a user