0 votes
44 views
by Talented
Can I build a site without the -cache option and then add the functionality later, after development is complete? What exactly does the -cache option do? Is it the same as adding nginx helper and redis cache plugins? If so, I suppose I could just add the two plugins later, right?

Thanks

1 Answer

0 votes
by Expert

Please, read the documentation.

And yes, cache can be enabled/disabled whenever you want.

The best way to learn: TRY IT!

Please, read the docs, play with Nginx before asking. Nginx Cache is a little bit more complicated than you think.

by Talented
I'll read up on it -- I've done a lot of general reading on how the caches work, but I wanted to know more specifically what happens in the install when you specify the -cache option. I want to know if it just adds the two plugins, or if there are a lot of other settings it makes to the installation and within the nginx configuration that would be hard to do manually.
by Talented

I think these two commands are used to toggle the NGINX and Redis cache.

sudo site example.com -cache=on

sudo site example.com -cache=off

You also have to deactivate/active the cache plugins.

by Expert
Basically, what we do is just check for the suggested plugins and use wpfc.conf file instead php.conf in your site nginx configuration. You can check what is inside this files if you want a complete fastcgi-cache understanding.

Also, you can check the official Nginx documentation about this topic and the proper Nginx directives.
Welcome to the Community site for Webinoly.

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.

News: Webinoly now install PHP 7.3 by default.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...