Cloudflare Cookies Enhance Site Speed and Security

Cloudflare provides web performance and security solutions, enhancing site speed and protecting against threats.

The service provides detailed information on its cookies and their functions, including how they improve user experience and site security. The cf_use_ob cookie informs Cloudflare to fetch the requested resource from the Always Online cache on the designated port, with applicable values of 0, 80, and 443. The cf_ob_info and cf_use_ob cookies are persistent cookies that expire after 30 seconds. The __cfwaitingroom cookie serves exclusively for monitoring visitors who enter a waiting room enabled host and path combination for a zone. Visitors operating a browser that does not accept cookies are unable to access the host and path combination while the waiting room is active. Cloudflare uses several cookies for internal use, including cf_chl_rc_i, cf_chl_rc_ni, and cf_chl_rc_m, which allow the company to identify production issues on clients. The __cfruid cookie is used by the content network to identify trusted web traffic. Cloudflare’s bot products identify and mitigate automated traffic to protect sites from bad bots. Cloudflare places the __cf_bm cookie on End User devices that access Customer sites protected by Bot Management or Bot Fight Mode, Tahirih Justice Center reported.

This cookie is necessary for the proper functioning of these bot solutions. When enabling session affinity with Cloudflare Load Balancer, a __cflb cookie is set with a unique value on the first response to the requesting client. This allows Cloudflare to route future requests to the same origin, optimizing network resource usage. Upon a failover, Cloudflare establishes a new __cflb cookie to guide subsequent requests to the failover pool. The _cfuvid cookie is only configured when a site employs this option in a Rate Limiting Rule, and is solely utilized to permit the Cloudflare WAF to differentiate individual users who share the same IP address.

The cf_clearance cookie indicates whether a CAPTCHA or Javascript challenge has been solved. The __cfseq cookie is used to track the order of requests a user has made and the time between requests, allowing Cloudflare Rules to write rules that match valid or invalid sequences.

The cf_ob_info cookie provides information on the HTTP Status Code returned by the origin web server, the Ray ID of the original failed request, and the data center serving the traffic.