Another vote for WebP, it's a great format. As for Safari, what I've done in the past is check that the format is included in the Accept headers, and dynamically serve it to browsers that support it. I believe there are Nginx plugins that do this, and it's not too difficult to implement it...