WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Enable caching on install (4 posts)

  1. xyclops
    Member
    Posted 3 years ago #

    Is there a way to set wp super cache to be enabled upon installation - I'm autoinstalling wordpress and I can auto activate the plugin but I need either a wp_options change or a call to a method in the plugin, I think, so I can set the 'caching on' to be enabled after activation. Any ideas?

    Thanks in advance.

  2. Backie
    Member
    Posted 3 years ago #

    Easiest option I suspect is to edit the wp-cache-config.php file by hand so when it's activated it uses that. Also you should deploy the advanced-cache.php at the same time.

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    Yup, what Backie said. (Thanks!)

    You could add a stock wp-cache-config.php and advanced-cache.php, as well as the WP_CACHE define in wp-config.php to your base install.

  4. xyclops
    Member
    Posted 3 years ago #

    Excellent, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic