Score:0

FastCGI cache and WordPress, is the cache skip for querystrings really needed?

cn flag

I'm just making a few test on FastCGI cache and I see that the suggested .conf have this directive:

if ($query_string != "") {
    set $skip_cache 1;
}

This will bypass the cache for every request containing a querystring. The problem is that all facebook links have a querystring inside, as AMP pages have ?amp=1, so is this directive really useful? is it safe to disable it?

Thanks!

Regards.

us flag
It depends on the use case. Where is that suggested configuration, and what is the environment for that suggested configuration?
user103969 avatar
cn flag
It's on every Nginx WordPress installation guide: Easyengine official: https://easyengine.io/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/ Nginx official: https://www.nginx.com/blog/9-tips-for-improving-wordpress-performance-with-nginx/
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.