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 3321948
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:07:27+00:00 2026-05-17T23:07:27+00:00

we want to make a file cache for local internet provider (like squid). Is

  • 0

we want to make a file cache for local internet provider (like squid).
Is it possible in C# to catch request for a file from user and send him local file instead of downloading it from remote server?

Thanks a lot!

  • 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-17T23:07:28+00:00Added an answer on May 17, 2026 at 11:07 pm

    Um, it depends upon what you mean by ‘catch a request’. You’re not talking about squid, are you? If so, problem solved :-).

    Otherwise, if you are talking about catching requests that go through a specific web page, you could do it, but it would be pretty hairy. The idea would be to write an http handler that parses a webpage before it is served looking for links. If it finds one and has a local cache, you would re-write the link to point to your copy.

    The other (um, better) alternative would be to parse for links when the pages are being created, which would save you a lot of processing power as the pages are being served. each link could be rewritten to pass through a proxy process that caches files and routes based upon its existence.

    I told you it was hairy 🙂

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

Sidebar

Related Questions

So I want to make a http request with a body (say file, file2,
I am newer for php. I want make php page cache, query data from
I want to make sure that if the file changes (if cache files are
I want to make a file that toggles a registry value. I'm trying to
Hallo I want to make an file upload. The script should take the image,
I'm new to C programming. I want to compile C program using Make file.
I want to make a method that takes any file and reads it as
I want to make a script that takes a URL to a file and
I want to make modifications to the middle of a text file using c++,
i want to make an app which can add the file properties of 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.