There are a few ways to compress an Illustrator file. One way is to use the compression tool in the File menu. Another way is to save the file as a PDF.