Use global compress function in every recipe provider.