Cloudflare gives very long TTFB - about 1 sec. (my server’s origin is 100ms) without enabled “Cache everything” (with enabled - ~100ms). But if i enabling “Cache everything” on my static website - i can not get to work my .htaccess rules. There i have rule to 302 redirect users using mobile devices to mobile version of site.
So with “Cache everything” enabled this redirect works only few times after cache purge - after that it redirects all time to desktop or mobile version - randomly.
- Is any way to improve Cloudflare’s TTFB without enabling “Cache everything” ?
- Is any way to not cache my .htaccess with “Cache everything” enabled ?