Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7923999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:30:52+00:00 2026-06-03T17:30:52+00:00

Scenario: At our company, we have enabled httpCompression for our website. This website (call

  • 0

Scenario:
At our company, we have enabled httpCompression for our website. This website (call it as master website) and its preview version both are hosted on the same web server. Preview version is used for testing.

The compression settings in the web.config file are

 <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
  <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
  <dynamicTypes>
    <add mimeType="text/*" enabled="true"/>
    <add mimeType="message/*" enabled="true"/>
    <add mimeType="application/javascript" enabled="true"/>
    <add mimeType="*/*" enabled="false"/>
  </dynamicTypes>
  <staticTypes>
    <add mimeType="text/*" enabled="true"/>
    <add mimeType="message/*" enabled="true"/>
    <add mimeType="application/javascript" enabled="true"/>
    <add mimeType="*/*" enabled="false"/>
  </staticTypes>
</httpCompression>
<urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true"/>

According to this article, compressed files are temporarily saved/cached to the directory specified in the config settings. In my case, it’s %SystemDrive%\inetpub\temp\IIS Temporary Compressed Files.
I do not have access to the web server to look at those compressed files. so here are my questions.

  1. How the compressed files are saved/cached or named for different web sites?
  2. Let’s say I use same compression directory for both web sites (preview and master). If a user requests a static file from preview website, it is compressed and cached in the directory. Now, another user requests the same file but from master web site. Does the server sends the compressed file of the preview website or it compresses the file again and saves to the directory?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T17:30:54+00:00Added an answer on June 3, 2026 at 5:30 pm

    IIS Creates a complex directory structure such as follows:

    %SystemDrive%\inetpub\temp\IIS Temporary Compressed Files\(compressionType)\(AppPool)\(WebSite)\compressed files

    It will not share the compressed version of the same files across web applications.

    So to answer your question, there will be 2 compression versions of the file.

    PS – You could have also turned on compression locally on IIS 7.5 and saw this structure locally.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our scenario: We have a main database that stores company-wide information. We have several
...any change? The scenario is this: For our company we develop a standard how
I have a scenario where I am to send email using our own SMTP
Good Morning SO! We've been scratching our heads with with this interesting scenario at
In our company we have started using VS 2010 to model our systems, in
we are using Struts2 in our code and I have scenario where I need
I'm starting some automated acceptance testing for our company, and have decided to use
This is my scenario: Our big customer demands that we should develop a part
I have run into a common dilemma. Many times, our company relies on using
Due to company constraints out of my control, I have the following scenario: A

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.