Updating the metabase
Next, modify the metabase:
1. Get IIS to allow you to edit the metabase. In IIS manager, right-click on your IIS server near the top of the tree on the left-hand side. Click on Properties, check Enable Direct Metabase Edit, and click on OK.
2. You'll normally find the metabase in directory
C:\Windows\system32\inetsrv
, in file themetabase.xml
. Open that file with a text editor.3. Find the
IIsCompressionScheme
elements. There should be two of these: one for the deflate compression algorithm and one for GZIP.4. In both the elements, extend the
HcFileExtensions
property with the extensions you need for static files used in your pages, such as.css
and.js
. You will wind up with something like the following:HcFileExtensions="htm html css js xml txt"
Keep in mind that there is no point in including image files here, such as .gif, .jpg, and .png. These files are already compressed because of their native format.
5. Also in both elements, extend the
HcScriptFileExtensions...