Is it poor design to check for a cookie on every page?
I want to know the users country which I will put in a cookie, but then my current design model checks the cookie on every page in order to show them the currency in the right format for their country.
Is this the best route, or is there a more efficient way of doing this?
No it isn’t. If there is a cookie set, the browser will send it anyways in the browser header and will be accessible via a variable.
It already will take up space in memory, checking if it’s there only adds a very small bit of overhead.
If you have a site that has millions of visitors a day/hour it’s worth looking into splitting microseconds.. but otherwise, just let it be.