Disable cloudflare cache comptetely + nginx

Hello, I want to stop caching in Cloudflare and I already set a rule which is mysite.com/blog/* with cache level: bypass

But it still keeps returning header: cf-cache-status: DYNAMIC

Is this normal?

In nginx it is set;

location ~ .(?:ico|jpg|css|png|js|swf|woff|webp|eot|svg|ttf|html|gif)$ {
access_log off;
log_not_found off;
error_log off;
add_header Pragma “public”;
add_header Cache-Control “public”;
expires 30 days;
}

Which basically means Cloudflare does not cache any more.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.