Order - programming.dev

Anyone willing to drop some learning on a lay person? Is encrypted data less compressable because it lacks the patterns compression relies on?

Or, is it less secure encrypt first because smart people things? I know enough about cryptography to know I know fuck all about cryptography.

It’s less secure to compress and encrypt at all, unless the compresstext is static (such as a pre-made image or video). See BREACH.
BREACH - Wikipedia