Use buffer for server side plugin too.