In apache, I believe if you use deflate or gunzip to compress .html files, the compressed copy of .html file is stored in a special apache cache unless the modification date has been changed on the .html file (for performance, so the .html file doesn't always have to be compressed before sending it out the client).
My question is if there is something similar for php files? Can this be done, so php files would be pre-compressed for optimal server performance?