Hello, I would like clarify that I don't speak good english, but I will try.
I have activated the Nginx cache from Plesk, and to know if it is working correctly I want it to return the "cache status". To achieve that I have added this line "add_header X-NG-Cache-Status $upstream_cache_status;" in "Additional nginx directives".
I have 2 problems:
1- The browser shows 2 more headers (and I have specified one). In the attached image you can see "x-cache-status" and the one that I added. If we remove the line that I mentioned earlier, both disappear. (Curious) Link: header cache nginx.png
2- This is the main problem. The state is never "HIT", the first time is "MISS" and then it is always "BYPASS". I tried to configure the BYPASS options, but it keeps coming out. Link: caché nginx opciones.png
Do I have to configure the cookies? I currently have that field empty.
What is the correct configuration for a wordpress? (I just think that adding / wp-admin / is enough)
I have activated the Nginx cache from Plesk, and to know if it is working correctly I want it to return the "cache status". To achieve that I have added this line "add_header X-NG-Cache-Status $upstream_cache_status;" in "Additional nginx directives".
I have 2 problems:
1- The browser shows 2 more headers (and I have specified one). In the attached image you can see "x-cache-status" and the one that I added. If we remove the line that I mentioned earlier, both disappear. (Curious) Link: header cache nginx.png
2- This is the main problem. The state is never "HIT", the first time is "MISS" and then it is always "BYPASS". I tried to configure the BYPASS options, but it keeps coming out. Link: caché nginx opciones.png
Do I have to configure the cookies? I currently have that field empty.
What is the correct configuration for a wordpress? (I just think that adding / wp-admin / is enough)