Plugin Contributor
iSaumya
(@isaumya)
Hi,
1. Yes you can use FastCGI cache with this plugin. Just make sure you have disabled the fallback cache inside this plugin settings.
2. Yes when you setup this plugin, this plugin will serve your HTML pages and static files like CSS, JS, and Images from the Cloudflare CDN as well.
Thanks for your response.
Is it preferable to use NGINX FastCGI cache, or does it not significantly impact performance when employing the fallback cache? I’ve configured NGINX FastCGI cache to store cache in RAM rather than on disk.
In situations where neither Cloudflare nor NGINX has cached content due to prolonged inactivity on the site, what is the optimal approach to ensure that cache is always readily available?
When a visitor accesses the site, which cache will be served – Cloudflare or NGINX? In other words, under what circumstances would NGINX cache be utilized?
Regarding the NGINX helper plugin, when updating a blog post, the NGINX cache is purged. How can the Cloudflare cache be purged simultaneously?
Plugin Contributor
iSaumya
(@isaumya)
In situations where neither Cloudflare nor NGINX has cached content due to prolonged inactivity on the site, what is the optimal approach to ensure that cache is always readily available?
In this case best to not have cache for the content if it hasn’t been accessed for long time.
When a visitor accesses the site, which cache will be served – Cloudflare or NGINX?
If the page is already cached at cloudflare then it will be servd from CDN, if not the request will go to your server and check if it’s cached at NGINX level and if so serve that and that will get cached by Cloudflare.
Regarding the NGINX helper plugin, when updating a blog post, the NGINX cache is purged. How can the Cloudflare cache be purged simultaneously?
This plugin will clear Cloudflare cache automatically.
Thanks for the information.
This plugin will clear Cloudflare cache automatically.
Is this something configured by the NGINX Helper plugin or by yours?
Plugin Contributor
iSaumya
(@isaumya)
Is this something configured by the NGINX Helper plugin or by yours?
This plugin will take care of clearing Cloudflare cache.
Hey again,
if I don’t install the NGINX Helper plugin but I have NGINX FastCGI enabled, could the Super Page Cache for Cloudflare plugin purge the NGINX cache when purging Cloudflare cache?
Plugin Contributor
iSaumya
(@isaumya)
No. You need the NGINX Helper plugin to purge the fastCGI cache.
If I don’t use the NGINX helper plugin, would that be a problem?
I could only purge the entire cache from the panel but my configuration doesn’t work with the NGINX Helper plugin (I realized that after opening this thread), so I need to purge the entire cache from the panel and I don’t know if purging the entire NGINX cache would also purge Cloudflare cache.
And if I don’t purge the NGINX cache at all, would that be a problem for Cloudflare cache?
I set the cache duration to one hour in NGINX.
Plugin Contributor
iSaumya
(@isaumya)
No clearing Nginx cache won’t purge the Cloudflare cache. You need to clear the nginx cache and then the Cloudflare cache.