Server-side is the way to go. Here's why.