For the 开发者_如何学Pythonfiles that Apache gzips, are they cached or not?
Or it just a waste of CPU every time a request is made?
It is not cached as far as I'm aware. You can pre-gzip you files and store them on disk manually if you wish. But if CPU load isn't a issue on your server than don't worry too much as gzip is a pretty easy for a CPU to do.
精彩评论