Web cache

A Web cache (or HTTP cache) is a system for optimizing the World Wide Web. It is implemented both client-side and server-side. The caching of multimedia and other files can result in less overall delay when browsing the Web.[1][2]

Parts of the system

Forward and reverse

A forward cache is a cache outside the web server's network, e.g. in the client's web browser, in an ISP, or within a corporate network.[3] A network-aware forward cache only caches heavily accessed items.[4] A proxy server sitting between the client and web server can evaluate HTTP headers and choose whether to store web content.

A reverse cache sits in front of one or more web servers, accelerating requests from the Internet and reducing peak server load. This is usually a content delivery network (CDN) that retains copies of web content at various points throughout a network.

HTTP options

The Hypertext Transfer Protocol (HTTP) defines three basic mechanisms for controlling caches: freshness, validation, and invalidation.[5] This is specified in the header of HTTP response messages from the server.

Freshness allows a response to be used without re-checking it on the origin server, and can be controlled by both the server and the client. For example, the Expires response header gives a date when the document becomes stale, and the Cache-Control: max-age directive tells the cache how many seconds the response is fresh for.

Validation can be used to check whether a cached response is still good after it becomes stale. For example, if the response has a Last-Modified header, a cache can make a conditional request using the If-Modified-Since header to see if it has changed. The ETag (entity tag) mechanism also allows for both strong and weak validation.

Invalidation is usually a side effect of another request that passes through the cache. For example, if a URL associated with a cached response subsequently gets a POST, PUT or DELETE request, the cached response will be invalidated. Many CDNs and manufacturers of network equipment have replaced this standard HTTP cache control with dynamic caching.

Legality

In 1998, the Digital Millennium Copyright Act added rules to the United States Code (17 U.S.C. §: 512) that exempts system operators from copyright liability for the purposes of caching.

Server-side software

This is a list of server-side web caching software.

Name Operating system Forward
mode
Reverse
mode
License
Windows Unix-like Other
Apache HTTP Server Yes OS X, Linux, Unix, FreeBSD, Solaris, Novell NetWare OS/2, TPF, OpenVMS, eComStation Yes Apache 2.0
aiScaler Dynamic Cache Control No Linux No Proprietary
ApplianSys CACHEbox No Linux No Proprietary
Blue Coat ProxySG No No SGOS Yes Yes Proprietary
Nginx Yes Linux, BSD, OS X, Solaris, AIX, HP-UX Yes Yes Yes 2-clause BSD-like
Microsoft Forefront Threat Management Gateway Yes No No Yes Yes Proprietary
Polipo Yes OS X, Linux, OpenWrt, FreeBSD ? Yes Yes MIT License
Squid Yes Linux ? Yes Yes GPL
Apache Traffic Server ? Linux ? Yes Yes Apache 2.0
Untangle No Linux No Yes Yes Proprietary
Varnish No Linux No Needs a VMOD Yes BSD
WinGate Yes No No Yes Yes Proprietary (Free for 8 users)
Nuster No Linux No Yes Yes GPL
McAfee Web Gateway No McAfee Linux Operating System No Yes Yes Proprietary

See also

References

  1. ^ Fountis, Yorgos (4 May 2017). "How does the browser cache work?".
  2. ^ Messaoud, S.; Youssef, H. (2009). "An analytical model for the performance evaluation of stack-based Web cache replacement algorithms". International Journal of Communication Systems. 23: 1–22. doi:10.1002/dac.1036. S2CID 46507769.
  3. ^ Shinder, Thomas (2 September 2008). "Understanding Web Caching Concepts for the ISA Firewall". ISA Server. TechGenix Ltd. Archived from the original on 23 July 2011. Retrieved 27 February 2011.
  4. ^ Erman, Jeffrey; Gerber, Alexandre; Hajiaghayi, Mohammad T.; Pei, Dan; Spatscheck, Oliver (2008). "Network-Aware Forward Caching" (PDF). AT&T Labs: 291–300. CiteSeerX 10.1.1.159.1786. Archived from the original (PDF) on 1 April 2011. Retrieved 11 March 2019.
  5. ^ Kelly, Mike; Hausenblas, Michael. "Using HTTP Link: Header for Gateway Cache Invalidation" (PDF). WS-REST. p. 20. Archived from the original (PDF) on 10 July 2010. Retrieved 14 June 2013.

Further reading

  • Ari Luotonen, Web Proxy Servers (Prentice Hall, 1997) ISBN 0-13-680612-0
  • Duane Wessels, Web Caching (O'Reilly and Associates, 2001). ISBN 1-56592-536-X
  • Michael Rabinovich and Oliver Spatschak, Web Caching and Replication (Addison Wesley, 2001). ISBN 0-201-61570-3

Read other articles:

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Desember 2022. Anggar pada Olimpiade Tokyo dapat mengacu pada acara anggar pada Olimpiade Tokyo; Anggar pada Olimpiade Musim Panas 1964 Anggar pada Olimpiade Musim Panas 2020 Lihat juga Arena Anggar Olimpiade Tokyo (disambiguasi) Halaman disambiguasi ini berisi arti...

 

 

Pop Anak-Anak Volume 2Album studio karya Koes PlusDirilisJuli 1975 (1975-07)[1]Genre Pop lagu kanak-kanak Durasi25:43LabelRemacoKronologi Koes Plus Pop Melayu Volume 3(1975) Pop Anak-Anak Volume 2(1975) Pop Jawa Volume 3(1975) Pop Anak-Anak Volume 2 adalah album dari grup musik Koes Plus yang dirilis pada tahun 1975 di bawah label Remaco. Daftar lagu Sisi ANo.JudulPenciptaPenyanyiDurasi1.Tari SelendangYokYok2:422.Selamat PagiTonnyYon1:273.Sayang 3YonYon2:104.Nasehat IbuYokYok...

 

 

Tendency to oscillate at certain frequencies This article is about resonance in physics. For other uses, see Resonance (disambiguation). Resonate redirects here. For other uses, see Resonate (disambiguation). Resonant redirects here. For the phonological term, see Sonorant. This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article's lead section may be too short to adequately summarize...

Chemical compound A-412997Identifiers IUPAC name N-(3-methylphenyl)-2-(4-pyridin-2-ylpiperidin-1-yl)acetamide CAS Number630116-49-3 1347744-96-0 (di‑hydrochloride)PubChem CID10425450IUPHAR/BPS3301ChemSpider8600878 YUNIIRWL9H93ARBChEMBLChEMBL375596 YCompTox Dashboard (EPA)DTXSID70212234 Chemical and physical dataFormulaC19H23N3OMolar mass309.413 g·mol−13D model (JSmol)Interactive image SMILES CC1=CC(NC(CN2CCC(C3=CC=CC=N3)CC2)=O)=CC=C1 InChI InChI=1S/C19H23N3O/c1-15-5-4-6-17...

 

 

Soviet-era prison for scientists Tupolev's sharaska TsKB-29 of NKVD in Omsk (1943) Sharashkas (singular: Russian: шара́шка, [ʂɐˈraʂkə]; sometimes sharaga, sharazhka) were secret research and development laboratories operating from 1930 to the 1950s within the Soviet Gulag labor camp system, as well as in other facilities under the supervision of the Soviet secret service. Formally various secret R&D facilities were called special design bureau Russian: особое к...

 

 

French actress For the British journalist, see Catherine Jacob (journalist). This biography of a living person includes a list of general references, but it lacks sufficient corresponding inline citations. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately, especially if potentially libelous or harmful. Please help to improve this article by introducing more precise citations. (February 2014) (Learn how and when to remove this template me...

دورة الألعاب الرياضية الأولى لدول مجلس التعاون 2011 البلد البحرين  المدينة المضيفة ملعب البحرين الوطني  الرياضيون المشاركون 1500 رياضي  التاريخ 2011  المكان ملعب البحرين الوطني  المفتتح الرسمي حمد بن عيسى بن سلمان آل خليفة  تعديل مصدري - تعديل   دورة الألعاب ال...

 

 

Cet article est une ébauche concernant l’histoire et un homme politique français. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Louis Grivart Louis Grivart photographié par Jean Nicolas Truchelut. Fonctions Sénateur français 30 janvier 1876 – 4 août 1901(25 ans, 6 mois et 5 jours) Élection 30 janvier 1876 Réélection 5 janvier 18795 janvier 18885 janvier 1897 Circonscription Ille-et-...

 

 

Prvi razred 1927-1928 Competizione Prvi razred Sport Calcio Edizione 9ª Organizzatore Varie sottofederazioni Luogo Regno dei Serbi, Croati e Sloveni Cronologia della competizione 1926-27 1928-29 Manuale La Prvi razred 1927./28. (in lingua italiana prima classe 1927-28), in cirillico Први разред 1927./28., fu la nona edizione della massima divisione delle varie sottofederazioni (podsaveze) in cui era diviso il sistema calcistico del Regno dei Serbi, Croati e Sloveni. Le vincenti ac...

English aristocrat (1846–1921) Katharine ParnellBornKatharine Wood(1846-01-30)30 January 1846Braintree, Essex, EnglandDied5 February 1921(1921-02-05) (aged 75)Spouses William O'Shea ​ ​(m. 1867; div. 1890)​ Charles Stewart Parnell ​ ​(m. 1891; died 1891)​Children5 Katharine Parnell (née Wood; 30 January 1846 – 5 February 1921), known before her second marriage as Katharine O'Shea, and...

 

 

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)&#...

 

 

الشيخ  سلمان بن عبد المحسن العلي معلومات شخصية الميلاد سنة 1883   القارة  الوفاة 27 يناير 1941 (57–58 سنة)  القارة  مواطنة الدولة السعودية الثانية (1883–1891) سلطنة نجد (1921–1926) مملكة الحجاز ونجد وملحقاتها (1926–1932) السعودية (1932–1941)  الديانة الإسلام[1]،  وشيعة اثنا...

Vous lisez un « article de qualité » labellisé en 2013. Pour les articles homonymes, voir Jeux olympiques de 1988. Jeux olympiques d'hiver de 1988 Localisation Pays hôte Canada Ville hôte Calgary Coordonnées 51° 02′ 42″ N, 114° 03′ 21″ O Date Du 13 au 28 février 1988 Ouverture officielle par Jeanne SauvéGouverneure générale du Canada Participants Pays 57 Athlètes 1 423(1 122 masc. et 301 fém.) Compétition Nombre de spo...

 

 

Town in the state of Florida, United States For other places called Lake Park, see Lake Park. Town in Florida, United StatesLake Park, FloridaTownTown of Lake ParkLocation of Lake Park in Palm Beach County, FloridaCoordinates: 26°48′1″N 80°3′51″W / 26.80028°N 80.06417°W / 26.80028; -80.06417Country United StatesState FloridaCounty Palm BeachIncorporated (Town of Kelsey City)1923[1][2]Incorporated (Town of Lake Park)1939[1]...

 

 

German chemist (1780–1849) Johann Wolfgang DöbereinerDöbereinerBorn(1780-12-13)13 December 1780Hof, Principality of BayreuthDied24 March 1849(1849-03-24) (aged 68)Jena, Grand Duchy of Saxe-Weimar-EisenachKnown forDöbereiner's triads Döbereiner's lampScientific careerFieldsChemistryInstitutionsUniversity of Jena Johann Wolfgang Döbereiner (13 December 1780 – 24 March 1849) was a German chemist who is known best for work that was suggestive of the periodic law for the che...

Administrative divisionsof Laos First-level Province Prefecture Second-level District Third-level Village vte Laos is divided into 17 provinces (khoueng) and one prefecture (kampheng nakhon) which includes the capital city Vientiane (Nakhon Louang Viangchan). Provinces are further divided into districts (muang) and then villages (ban). An 'urban' village is essentially a town.[1] Administrative Units Officially, Laos is divided into 3 administrative tiers, with different types of admi...

 

 

Data structure that associates keys with values Dictionary (data structure) redirects here. Not to be confused with data dictionary. Associative container redirects here. For their C++ implementation, see associative containers (C++). Map (computer science) redirects here. For the higher-order function, see Map (higher-order function). Associative table redirects here. For the relation used in database systems to resolve many-to-many relationship, see Associative entity. In computer science, ...

 

 

I Like ItSingel oleh Cardi B, Bad Bunny dan J Balvindari album Invasion of PrivacyBahasaInggrisSpanyolDirilis25 Mei 2018Direkam2017–2018GenreLatin traphip hopDurasi4:13LabelAtlanticPencipta Belcalis Almanzar Benito Ocasio José Osorio Tony Pabón Marcos Masis Jesus Nieves Manny Rodriguez Jorden Thorpe Anthony White Vincent Watson Edgar Machuca Xavier Vargas Edgar Vargas Benny Bonnilla Produser J. White Did It Tainy Craig Kallman Invincible Kronologi singel Cardi B Dinero (2018) I Like ...

Municipality in Bataan, Philippines Municipality in Central Luzon, PhilippinesSamalMunicipalityMunicipality of Samal FlagSealMap of Bataan with Samal highlightedOpenStreetMapSamalLocation within the PhilippinesCoordinates: 14°46′04″N 120°32′35″E / 14.76778°N 120.54306°E / 14.76778; 120.54306CountryPhilippinesRegionCentral LuzonProvinceBataanDistrict 1st districtFounded1699Barangays14 (see Barangays)Government [1] • TypeSangguniang ...

 

 

1989–2007 series of music venues in New York City, US Sin-éA band performing at the final incarnation of Sin-é in 2007LocationNew York CityOwnerShane DoyleOpened1989–96; 2000; 2003–07 (varying incarnations) Sin-é (/ʃɪˈneɪ/; from the Irish phrase sin é meaning that's it)[1] was a music venue in New York City that helped launch the careers of several noted musicians in the early 1990s.[2] History Original café The original Sin-é, located at 122 St. Mark's Place i...