How to make Ocean Modifier Loop!?

Ok, i would like to make a GIF, with water, and i want it to be seamless. I love the look of the ocean modifier, but i cant find a way to make it loop to look like continuously flowing water. Is there a way to make it loop, or is there some other way on Blender to make a looping water effect? If all else fails, i’ll just download an already made texture animation, but i would love to know how to do it myself!

your answer is here

animate the time, go to graph editor, then under channel choose extrapolation mode linear.
now you got an infinite loop.