How to configure Squid is that he has direct access to the official web server

Updated on technology 2024-03-23
5 answers
  1. Anonymous users2024-02-07

    When a client requests access to a web service, DNS resolves the domain name to the IP address of the Squid reverse server, so that the client's URL request is sent to the reverse server.

    If the requested resource is cached in the squid reverse server, the requested resource is returned directly to the client, otherwise the reverse server requests the resource from the web server in the background and then returns the response to the client, while also cached the reply locally for the next requester.

    Squid reverses generally only cache bufferable data (such as HTML pages and cookies), while some CGI scripts or dynamic programs such as ASP and JSP do not cache by default. It buffers static pages based on HTTP header tags returned from the web server. There are four most important HTTP header tags:

    last-modified: Tells the reverse page when it was modified.

    expires: Tells the reverse page when it should be removed from the buffer.

    cache-control: Tells the reverse page whether it should be buffered or not.

    pragma: Used to contain implementation-specific instructions, the most commonly used is pragma:no-cache

  2. Anonymous users2024-02-06

    The simplest static network configuration for Linux systems.

  3. Anonymous users2024-02-05

    It's useless to understand what your sqid is?

    If you are doing web services, and there is no 80-end silver mess port, or port 80 is blocked and blocked, you can start nat123 port mapping and publish**, do **service, and the external network access is the same as port 80.

  4. Anonymous users2024-02-04

    Internet options in the Internet Connect LAN settings.

    See if the ** server is enabled.

  5. Anonymous users2024-02-03

    If you need a cache server, you can try fikker, fikker is the first professional acceleration server software for the majority of webmasters in China, full interface management, using page caching technology (webcache), administrators or developers cache the specified page through the fikker management platform, and other users do not need to read the database and then generate the page when they visit the same page, fikker Directly return to the page that the user needs, and the average response speed is increased by more than 10 times; In addition, Fikker compresses pages (HTML, ASP, PHP, CSS, JS) through gzip, which reduces the transfer size, improves the transmission efficiency and reduces the bandwidth occupation.

Related questions
15 answers2024-03-23

Nowadays, more and more people will use wooden flooring, bamboo flooring, etc., to make the home look more warm and natural after paving. However, it is important to know that wood flooring and bamboo flooring are different from other floors, and correct maintenance can make them last longer. Now there are more and more wooden floor maintenance strategies, and bamboo flooring is very few, some people do not understand how to maintain bamboo flooring, the same city decoration will tell you about the maintenance skills of bamboo flooring. >>>More

20 answers2024-03-23

He was cautious, did not participate in state affairs and political affairs, just enjoyed life, Empress Lu thought she was not threatening, and when Empress Lu was in power, he sacrificed his fief to marry Empress Lu. So he escaped the poisonous hands of Empress Lu.

24 answers2024-03-23

Lin Zhiying is a well-known frozen male god in the entertainment industry, since his debut, he has always been sunny and handsome, he is 45 years old this year, but he does not have a middle-aged greasy look. Compared with other stars of the same age, Lin Zhiying has always looked like a teenager, obviously he has married a wife and had children, and he has three children, but there is no trace of time on his face. How exactly does he maintain it, many netizens are curious. >>>More

4 answers2024-03-23

3.Injustice: Han Yu believes that writing is the expression of feelings, the catharsis of inner injustice, the physiological need, and the natural nature. >>>More

32 answers2024-03-23

Cao Pi claimed that the emperor was not kind to his younger brother Cao Zhi, weakened his power, and removed his helpers. It's just that in the end, he didn't do it, and he didn't hurt Cao Zhi's life. >>>More