I've been experimenting with a technique called cinemagraphs. This technique makes animated GIFs where only a small portion of the scene is animated. Here's a quick one that I just made:
So far, Photoshop does a good job with compressing the static parts of the scene. By masking only the moving part, you can save several megabytes.
What Photoshop is not optimizing well is the duplicated frames. To get a seamless loop, I duplicate all frames and reverse them. In the example above, the newscaster turns to the left and needs to turn back to her original position. This always doubles the size of the GIF. How do I tell Photoshop to optimize the duplicated frames just like it optimizes the static areas? In Timeline panel's menu, I've already used the "Optimize Animations" option but that didn't do anything...