Hi again.
Can you help me to understand the question #2:
2. If I check/set “Don’t cache the following dynamic contents = Pages with query args” in the plugin settings, then only main page is being cached and saved to fallback dir, then the rest pages are getting BYPASS header. There are not visible queries in the nginx logs. Just clean URLs.
I am trying to figure out what’s wrong. Nginx config? Or something else. Without this setting fallback cache is working fine, just catching weird queries along with GET requests, which I then manually disallow in the plugin’s fallback cach settings.
Here are headers from the console:
Response Headers
alt-svc: h3-27=”:443″; ma=86400, h3-28=”:443″; ma=86400, h3-29=”:443″; ma=86400
cache-control: no-store, no-cache, must-revalidate, max-age=0
cf-cache-status: BYPASS
cf-ray: 5e4376353fc61ce0-BUD
cf-request-id: 05de08354500001ce00d0b7000000001
content-encoding: br
content-type: text/html; charset=UTF-8
date: Sun, 18 Oct 2020 15:58:36 GMT
expect-ct: max-age=604800, report-uri=”https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
expires: Sun, 18 Oct 2020 15:58:36 GMT
nel: {“report_to”:”cf-nel”,”max_age”:604800}
pragma: no-cache
referrer-policy: strict-origin-when-cross-origin
report-to: {“endpoints”:[{“url”:”https:\/\/a.nel.cloudflare.com\/report?lkg-colo=123&lkg-time=1603036717″}],”group”:”cf-nel”,”max_age”:604800}
server: cloudflare
status: 200
strict-transport-security: max-age=31536000; includeSubDomains; preload
vary: Accept-Encoding
x-content-type-options: nosniff
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-wp-cf-super-cache: no-cache
x-wp-cf-super-cache-cache-control: no-store, no-cache, must-revalidate, max-age=0
x-xss-protection: 1; mode=block
Request headers:
:authority: domain.com
:method: GET
:path: /path/
:scheme: https
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9,sv;q=0.8
cache-control: no-cache
cookie: __cfduid=dbf5ef2953926ec118996fc1d33a390431603036125; cookielawinfo-checkbox-necessary=yes; caosLocalGa=GA1.2.2121545134.1603036128; caosLocalGa_gid=GA1.2.543226826.1603036128; __gads=ID=148128023f178b61-22b0da864ba6004f:T=1603036126:RT=1603036126:S=ALNI_MaToh5vMhh0V2igoie9OUPOXWQASQ; CookieLawInfoConsent=eyJuZWNlc3NhcnkiOnRydWV9; viewed_cookie_policy=yes; _gat=1
pragma: no-cache
referer: https://domain.com/
sec-fetch-dest: document
sec-fetch-mode: navigate
sec-fetch-site: same-origin
sec-fetch-user: ?1
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 OPR/71.0.3770.271