marty
Thanks for your reply.
marty All page caching on WordOps is handled via conf files - different configurations are included depending on which option you use (--wpredis, --wpfc etc). If you look at the site level conf file you'll see how this works (wo site edit <domain>).
Yes, I know. My question was not related to that. I meant for example:
Scenario:
I setup a simple WordPress page with --wpredis.
Nginx helper gets installed (I know its a plugin from the wp repo and that it is not part of wordops... 😉) . Reason for its auto installation and activation through wordops wo site command: its "purging" functionality - to allow a site's admin clearing page cache from within WordPress.
Redis Object Cache (free plugin) also gets auto installed through wordops wo site command. Reason for its installation: being able to connect this wordpress site with local Redis Server and actually be able to provide object caching functionality to this wordpress site.
Next, what do I do?
Then I must pick the Redis option inside Nginx Helper, right? Because it does not make sense to use the Nginx Fastcgi page cache, as the required conf settings won't be available to this site, right? And thus it doesn't make sense to be able to purge it.
if I dont pick Redis or any option in Nginx helper, the site will still be page cached? In this scenario via redis? Or will the page cache be
My problem here is: Redis is a great object caching tool. But I am not so convinced using it for page caching. Why is it automatically used for page caching? This can not be disabled...
To disable it, I will have to set the site to --wp oder --wpfc, right? So this vhost loads the correct nginx configurations.
I will however still be able to use redis object caching, because redis server is available on my machine and I merely need a connector - in this case Redis Object Cache oder Redis Object cache Pro or any other tool that is able to connect a wordpress site to my redis server. Usually these tools provide more granular options for redis table selection, cache groups, settings for woocommerce and much more. I highly recommend using Redis Object Cache Pro for that purpose. It comes bundled with monthly costs, but object caching on a larger shop system with woocommerce and being able to control it perfectly is crucial in my opinion.
Also I am not sure, how to make more granular settings regarding page caching at all without these helper tools...
So while we are at this topic:
If I set WP Cache constant to true on a site that has been created using wordops site command with merely --wp - then what happens under the hood? Is anything happening at all?
Some form of page caching is being applied, because in that case, I am seeing several issues regarding event tracking and event firing when using PixelYourSite. I was thinking that maybe there is something in PixelYourSite's code that is responding to WP Cache constant set to true. But if in fact no page cache is applied... then .. gosh my brain.