用户访问网站
Has user got "location" cookie set?
Yes - Print "country" value from cookie on page
- Finish
No - Do geoip look up with nginx
Was this successful?
Yes - Store value in cookie
- Print "country" value from cookie on page
- Finish
No - Do not print "country" on page
- Finish
这是最有效和最合适的工作流程吗?