easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

Future of W3 Total Cache and WP Super Cache in EE [feedback-request]

Open rahul286 opened this issue 11 years ago • 41 comments

We use only nginx fastcgi_cache for full page caching i.e. wpfc option in ee site create command.

WP Super Cache is only used for full page caching so we never used it.

W3 Total Cache is generally used for many things, but have replacement already for few features and planned replacement for few other features.

  1. Full page cache (Nginx fastcgi_cache is replacement)
  2. Object Cache - redis and memcache - both have object-cache.php (testing is underway)
  3. Database Cache - not required. I feel this is "over"caching. MySQL query cache and Object Cache together does decent job.
  4. CDN - Origin/Pull CDN can be done using nginx. For S3-style CDN, many plugins exist.
  5. Minify/Combine - Can be done in pagespeed but pagespeed has open issue. But there are wordpress plugins for this and one of them wp-minify - https://wordpress.org/plugins/wp-minify/ worked nice for me in past.

So we want to know, if we drop support for above 2 plugins in near feature, will it affect you? If yes, how?

One way is to move these options to ee plugins and let those who need them, manage it.

Please provide your feedback. Having less options will help us focus on improvements.

rahul286 avatar Apr 24 '15 10:04 rahul286

Yes, I love metalsmith.io, but I need good backend for authors and orginal plugins about WP. My idea is generate static html pages/posts using WP and place to CDN. All dynamic content for frontend based on WP API.

WP have cool project maera.io as good base for themes.

PHP admin backend is only for admin, authors of articles, moderators.

We have WP API v1.2, now is time for change themes and plugins.

I am working on theme based on Polymer and WP API + Pods. ;-)

JosefJezek avatar Apr 27 '15 15:04 JosefJezek

@JosefJezek sounds like a nice project.

I like static site generators but writing process seems complicated for non tech-savvy users.

There is a discussion in hugo community to solve this problem in different way. You may like to read it - http://discuss.gohugo.io/t/web-based-editor/155/ :-)

Anyway, if you find a nice workaround, please share.

rahul286 avatar Apr 28 '15 07:04 rahul286

+1

MiteshShah avatar Apr 30 '15 12:04 MiteshShah

@all Testing http://poll.gitrun.com/rtcamp/easyengine/issues/509 so ignore this +1

MiteshShah avatar Apr 30 '15 12:04 MiteshShah

Hi,

Interesting thread. I would like to see a conclusion or devinitive EE statement to end this discussion. What do recommend? Managed WP hosts do all caching without using any plugin. I want to offer this for my customers but this thread confuses me.

Would prefer to be able to do all caching via EE with no need for any plugin. Is this possible? Also, I use MAXCDN for all my sites, when the EE plugin system is released, will I be able to use the MAXCDN api to add all new sites to my CDN with out having to do any config?

http://wp-rocket.me/features/ looks good. I want to offer all over these services without ant plugin required, all automatically configured when I add a new site.

Thanks - you are doing a great job.

ghost avatar Apr 30 '15 22:04 ghost

Hi @rahul286 I am happy about the changes you've proposed. I only use --wpfc and I only use W#TC for object cache. I'd be more than happy if you pick a object cache as you described and have one fewer plugin. For minifying, I have also had trouble with w3tc and pagespeed, but Autoptimize has been the best for me: https://wordpress.org/plugins/autoptimize/

Thanks for ee and keep up the great momentum!

andrewklimek avatar May 23 '15 13:05 andrewklimek

If you drop support to a full page cache (because of FastCGI cache) I'll have to add support to WP Super Cache by myself: several customers of mine have low RAM systems (1GB), but their blogs have a very large number of pages, making --wpfc unfeasible for them.

janiosarmento avatar Jul 05 '15 15:07 janiosarmento

In regards to "Full page cache (Nginx fastcgi_cache is replacement)", the nginx install must be easier for people in my opinion if you are to replace supercache and W3TC which have cache clearing capabilities when editing a post or page without requiring a rebuild/reinstall of nginx. Having to compile nginx with a special third-party plugin is a big burden and downside of using the nginx helper plugin.

it is nice that you have a ppa to install nginx without compiling yourself but it really doesn't meet our needs. First, I have no idea which nginx configure compile options you included your ppa and second, I want to be able to choose which compile options to use. If you look at the Ubuntu install packages for nginx, they have several - light, full, extras, etc. I would much prefer to use one of the standard Ubuntu packages for nginx. I don't really know why it requires a third party nginx plugin just to clear the nginx fastcgi cache on demand.

doliver3 avatar Aug 05 '15 03:08 doliver3

@doliver3 EasyEngine ships with nginx build which has all modules pre-complied. Also, nginx-helper is already gets installed for nginx-fastcgi-cache (--wpfc) and redis-fullpage-cache (--wpredis). Apart from that nginx-helper is configured to purge relevant pages fro cache when a post/page/CPT is published/edited/deleted.

So basically for EasyEngine users there is no difference in configuring any 4 type of full-page cache in terms of human efforts.

rahul286 avatar Aug 05 '15 06:08 rahul286

@rahul286 glad to see Redis made it in. +1 for a Redis object cache only option (that can be used with standard battle tested nginx full page cache option) or better yet only use memcached for w3total cache option and otherwise use redis as the default object cache .

kymcarlsson avatar Aug 07 '15 10:08 kymcarlsson

I'd love to try out redis on my 100% SSL website. But I read that Redis does not support ssl. Is that true?

If I set up a WP site with ee command site and --w3tc, and have it all set up, how can I move my site to redis in combination with pagespeed - dropping w3tc in total without screwing up?

Thanks for the info!

If SSL works perfectly with redis, I am in for redis object cache with ee wp sites.

s-a-s-k-i-a avatar Sep 22 '15 13:09 s-a-s-k-i-a

+1 for nginx-fastcgi-cache and redis-object-cache together; removal of w3tc.

robrecord avatar Nov 03 '15 10:11 robrecord

+1 for removal of w3tc.

christoferw avatar Jan 20 '16 09:01 christoferw

+1 for removal of w3tc and memcached.

janiosarmento avatar Jan 20 '16 14:01 janiosarmento

+1 removal of w3tc, no need to have it

ichpen avatar Jan 20 '16 17:01 ichpen

+1 removal of w3tc and memcached

cm896 avatar Jan 20 '16 17:01 cm896

+1 for removal of w3tc and memcached. W3TC especially never felt right being in this project.

vitaligent avatar Jan 21 '16 23:01 vitaligent

+1 for drop of w3tc support, it can be moved to the documentation.

Can anyone provide a (link to a) quick draft on how to remove W3TC and all related EE nginx rules safely? I'd like to test object-cache.php from https://wordpress.org/plugins/memcached/ but want W3TC out of the way first...

RavanH avatar Mar 19 '16 22:03 RavanH

Just update your cache type like if creating a new site https://easyengine.io/docs/commands/site/update/

On Sat, Mar 19, 2016 at 6:30 PM, RavanH [email protected] wrote:

+1 for drop of w3tc support, it can be moved to the documentation.

Can anyone provide a (link to a) quick draft on how to remove W3TC and all related EE nginx rules safely? I'd like to test object-cache.php from https://wordpress.org/plugins/memcached/ but want W3TC out of the way first...

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/EasyEngine/easyengine/issues/509#issuecomment-198800297

rsmith4321 avatar Mar 19 '16 23:03 rsmith4321

+1 for nginx-fastcgi-cache and redis-object-cache together; removal of w3tc.

rustyguts avatar May 23 '17 22:05 rustyguts