I have simple question. I have webdirectory /css
and inside is file style.css
. I have manually gzipped this file and saved it as style.css.gz
. I want to save CPU cycles to not have CSS file compressed at each request. How do I configure Apache to look for this .gz
file and serve it instead of compressing .css
file over and over again ?
Note: I don't want Apache to create .gz
file itself. In my scenario I have to create .css.gz
file manually - using PHP on specific requests.