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

  • Home
  • SEARCH
  • 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 6853615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:32:00+00:00 2026-05-27T01:32:00+00:00

I am implementing a fix for the problem caused by 02 compression issues over

  • 0

I am implementing a fix for the problem caused by 02 compression issues over 3G.

Web site exhibits JavaScript error on iPad / iPhone under 3G but not under WiFi

The best solution seems to be http://stuartroebuck.blogspot.com/2010/08/official-way-to-bypassing-data.html which is basically to add the header Cache-Control: no-transform in IIS, however I would like to apply this only to specific file types. What is the easiest way to do this?

  • 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-05-27T01:32:01+00:00Added an answer on May 27, 2026 at 1:32 am

    It is the best solution for me to write a HttpModule. I wrote an example for you.
    You can check mime type for specific file types.

    public class AddHeaderModule : IHttpModule
    {
        public void Init(HttpApplication context)
        {
            context.EndRequest += OnEndRequest;
        }
    
        void OnEndRequest(object sender, System.EventArgs e)
        {
            if(HttpContext.Current.Response.ContentType == "image/jpeg")
                HttpContext.Current.Response.Headers.AddHeader("Cache-Control", "no-transform");
        }
    }
    

    Also you have to add it web.config

    <configuration>
       <system.web>
          <httpModules>
             <add name="AddHeaderModule" type="your.namespace.AddHeaderModule" />
          </httpModules>
       </system.web>
    </configuration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building the site and planning on implementing OpenID. I can get an
Iam implementing cufon on infinite carousel. The problem is that when carousel dynamically generates
I came across an interesting problem today whilst implementing a feature into a dynamic
EDIT: the IIRF.ini code was not the problem in this case, the performance issues
I'm implementing a simple chat and I came across a simple problem: I wanted
Problem & Reason One of my team mate ended up in messy situtaion implementing
I'm implementing client web service from .wsdl in C++ using gSOAP library. And i
i have a problem implementing a list action with its own route. here is
Implementing Equals() for reference types is harder than it seems. My current canonical implementation
Implementing a 'sandbox' environment in Python used to be done with the rexec module

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.