सिमान्तसञ्चयः। सञ्चिकाआरोपणे (१ अक्टो) द्वारम्। अत्र समीपे स्मृतिः जालस्य। CDN, Cache-Control, purge, Vary। न केवलं आन्तरिककैश; सिमान्तधर्मः।
English (minimizable)
After file uploads (1 Oct), this post covers CDN/edge caching: why PoPs exist, Cache-Control, HTML vs fingerprinted assets, purge, Vary/privacy, TLS, origin shield, metrics and deploy interactions.
पूर्ण-शीर्षकम् / Full title
सिमान्तसञ्चयः: A Metrical Codification of Edge and CDN Caching (with English glosses)
English · overview and topics (minimizable)
What this post is about
Edge/CDN caching stores cacheable HTTP responses near users to cut latency and origin load. It is a different tier from in-process caches.
Topics covered
- Origin offload and latency
- Cache-Control / s-maxage
- Immutable assets vs HTML
- Purge and tags
- Private responses and Vary
- TLS at edge
- Origin protection
- Edge metrics
- Blue-green / release interaction
- Link to app-cache treatise
Sanskrit title
सिमान्तसञ्चयः = sīmānta-sañcayaḥ “cache at the boundary/edge”.
परम्परा-सन्धिः / Series links
| पूर्वं / Prior | अत्र / Adds | न पुनः / Does not repeat |
|---|---|---|
| सञ्चयधर्मः (७ सितम्बे) | app/data caches | HTTP edge tier |
| नीलाहरितम् (१९ अगस्त) | deploy switch | cache bust |
| प्रमाणपत्रचक्रः (१४ सितम्बे) | certs | edge certs |
| द्वारपालसेवा (१२ अगस्त) | gateway | often sits with CDN |
| इदम् | CDN headers purge Vary origin | - |
ग्राह्य-त्याज्य-विवेकः / Keep and avoid
ग्राह्यम् / Keep
१. सत्यशीर्षाणि: correct Cache-Control
२. अङ्गुलिचिह्नसंपत्तिः: hashed static assets long TTL
३. purgeपथः: emergency invalidation
४. Varyगोप्यता: never cache one user for another
५. मूलगोपनम्: hide/protect origin
६. hitमापनम्: hit ratio and origin latency
७. HTML ह्रस्वTTL: short HTML cache on appshell
त्याज्यम् / Avoid
- cache personalized JSON publicly
- year-long HTML without fingerprint plan
- no purge tool for incidents
अध्याय-योजना / Chapter plan
| प्रकरणम् | विषयः | छन्दः | श्लोकाः |
|---|---|---|---|
| १ | मङ्गलं बीजं च / Opening | अनुष्टुभ् | २ |
| २ | मूलतत्त्वानि / Core | अनुष्टुभ् | २ |
| ३ | मुख्यविधिः / Method | उपजाति | १ |
| ४ | रक्षा · विधिः / Guards | अनुष्टुभ् | २ |
| ५ | विवेक · सीमा / Judgment | अनुष्टुभ् | २ |
| ६ | पूर्वसन्धिः / Series links | उपजाति | १ |
| ७ | उपसंहारः / Close | अनुष्टुभ् | २ |
पारिभाषिक-कोशः / Glossary
| Modern English | संस्कृतम् | Note |
|---|---|---|
| CDN | सिमान्तजालम् / CDN | |
| edge cache | सिमान्तसञ्चयः | |
| origin | मूलसेवा | |
| Cache-Control | सञ्चयनियन्त्रणशीर्षम् | |
| purge | अमान्यकरणम् / purge | |
| surrogate key | प्रतिनिधिकुञ्चिका | |
| Vary | Vary शीर्षम् | |
| PoP | उपस्थितिबिन्दुः | |
| origin shield | मूलकवचः | |
| immutable asset | अपरिवर्तनशीलसंपत्तिः |
श्लोकः १ (अनुष्टुभ्)
सिमान्तसञ्चयस्तस्माद् समीपस्मृतिः ॥१॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
दूरजनं यदि मूलं नित्यं स्पृशेत् तदा विलम्बो दाहश्च ।
सिमान्तसञ्चयस्तस्माद् समीपस्मृतिः ॥१॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| दूरजनम् | distant user |
| मूलम् | origin |
| नित्यम् | always |
| स्पृशेत् | touches |
| विलम्बः | latency |
| दाहः | origin burn |
| सिमान्तसञ्चयः | edge cache |
| समीपस्मृतिः | near-side memory |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| मूलम् | origin |
| सिमान्तसञ्चयः | edge/CDN cache |
| समीपस्मृतिः | nearby memory |
English sense
A CDN or edge cache serves static and cacheable responses from points of presence near users so origin is not on every request path.
Context / topic
Topic: why edge cache. Distinct from app-memory cache (7 Sep).
वृत्तमिति: ८-८-८-८।
श्लोकः २ (अनुष्टुभ्)
मौनकैशे जीर्णराज्यम् ॥२॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
Cache-Control सत्यं लेख्यं max-age s-maxage च ।
मौनकैशे जीर्णराज्यम् ॥२॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| Cache-Control | Cache-Control |
| सत्यम् | truthful |
| लेख्यम् | must be set |
| max-age | max-age |
| s-maxage | s-maxage |
| मौनकैशे | if cache silent/unspecified |
| जीर्णराज्यम् | stale kingdom |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| Cache-Control | HTTP cache headers |
| s-maxage | shared cache age |
| जीर्णराज्यम् | stale reign |
English sense
Origins must emit correct cache headers. Shared caches honor s-maxage; browsers honor max-age. Missing headers often mean accidental private caching or never caching.
Context / topic
Topic: cache headers as contract.
वृत्तमिति: ८-८-८-८।
श्लोकः ३ (अनुष्टुभ्)
एकं year cache HTML भङ्गाय ॥३॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
विविक्तं HTML API पृथक् नीत्या ।
एकं year cache HTML भङ्गाय ॥३॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| विविक्तम् | separated |
| HTML | HTML |
| API | API |
| पृथक् नीत्या | with different policy |
| एकम् | one |
| year | year-long |
| cache | cache |
| HTML | HTML |
| भङ्गाय | for breakage |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| HTML API | documents vs data |
| year cache | immutable long TTL |
English sense
Fingerprinted static assets can be immutable long TTL. HTML entrypoints and personalized API JSON usually cannot. Mixing policies causes users to stick on old appshells.
Context / topic
Topic: asset fingerprint vs HTML.
वृत्तमिति: ८-८-८-८।
श्लोकः ४ (अनुष्टुभ्)
केवलTTL आशा मन्दा ॥४॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
अमान्यकरणं purge tag version pathैः ।
केवलTTL आशा मन्दा ॥४॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| अमान्यकरणम् | invalidation |
| purge | purge |
| tag | tag |
| version | version |
| pathैः | by paths |
| केवलTTL | TTL alone |
| आशा | hope |
| मन्दा | weak |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| purge tag | cache purge/tag |
| केवलTTL | TTL only |
English sense
Plan active invalidation (purge by URL or tag) for sudden content fixes. TTL-only is too slow for emergency corrections.
Context / topic
Topic: purge and surrogate keys.
वृत्तमिति: ८-८-८-८।
श्लोकः ५ (उपजाति)
मा साझकैशे लिख्यताम् ।
Vary शीर्षं
सत्यं वदेत् ॥५॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
गोप्यं Cookie Authorization
मा साझकैशे लिख्यताम् ।
Vary शीर्षं
सत्यं वदेत् ॥५॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| गोप्यम् | private |
| Cookie | Cookie |
| Authorization | Authorization |
| मा | do not |
| साझकैशे | in shared cache |
| लिख्यताम् | be written |
| Vary | Vary |
| शीर्षम् | header |
| सत्यम् | truth |
| वदेत् | should speak |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| साझकैशे | shared edge cache |
| Vary | Vary header |
English sense
Authenticated or cookie-varying responses must be private or correctly Vary-keyed. Caching one user’s JSON for another is a privacy incident.
Context / topic
Topic: private vs public cache.
वृत्तमिति: एकादशाक्षराः पादाः।
श्लोकः ६ (अनुष्टुभ्)
मिश्रनीतिः प्रमाणपत्रभ्रमे ॥६॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
TLS समाप्तिः सिमान्ते मूलपथे वा स्पष्टा ।
मिश्रनीतिः प्रमाणपत्रभ्रमे ॥६॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| TLS | TLS |
| समाप्तिः | termination |
| सिमान्ते | at edge |
| मूलपथे | to origin |
| स्पष्टा | clear |
| मिश्रनीतिः | mixed policy |
| प्रमाणपत्रभ्रमे | in certificate confusion |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| TLS समाप्तिः | TLS termination |
| प्रमाणपत्रभ्रमे | cert confusion |
English sense
Know where TLS ends and whether origin uses mTLS. Edge cert lifecycle still follows प्रमाणपत्रचक्रः.
Context / topic
Topic: TLS at edge. Links to certs (14 Sep).
वृत्तमिति: ८-८-८-८।
श्लोकः ७ (अनुष्टुभ्)
CDN मा केवलं आशाकवचम् ॥७॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
मूलरक्षां shield rate limit WAF युक्तं कुर्यात् ।
CDN मा केवलं आशाकवचम् ॥७॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| मूलरक्षाम् | origin protection |
| shield | shield |
| rate limit | rate limit |
| WAF | WAF |
| कुर्यात् | should do |
| CDN | CDN |
| मा केवलम् | not only |
| आशाकवचम् | hope shield |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| मूलरक्षाम् | origin shield/protection |
| WAF | web app firewall class |
English sense
CDN is not a full security program. Still protect origin IPs, rate-limit and watch app authz.
Context / topic
Topic: origin hardening.
वृत्तमिति: ८-८-८-८।
श्लोकः ८ (अनुष्टुभ्)
अदृश्यसिमान्तः मिथ्याशान्तिः ॥८॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
मापनं hit ratio origin latency purge errors ।
अदृश्यसिमान्तः मिथ्याशान्तिः ॥८॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| मापनम् | metrics |
| hit | hit |
| ratio | ratio |
| origin | origin |
| latency | latency |
| purge | purge |
| errors | errors |
| अदृश्यसिमान्तः | unseen edge |
| मिथ्याशान्तिः | false calm |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| hit ratio | cache hits |
| मिथ्याशान्तिः | false calm |
English sense
Monitor hit ratio, origin offload, purge failures and TLS errors at the edge.
Context / topic
Topic: CDN observability.
वृत्तमिति: ८-८-८-८।
श्लोकः ९ (अनुष्टुभ्)
जीर्णHTML स्विचं हन्ति ॥९॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
नीलाहरितस्विचे cache bust नीतिं स्मर ।
जीर्णHTML स्विचं हन्ति ॥९॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| नीलाहरितस्विचे | on blue-green switch |
| cache | cache |
| bust | bust |
| नीतिम् | policy |
| स्मर | remember |
| जीर्णHTML | stale HTML |
| स्विचम् | switch |
| हन्ति | kills |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| cache bust | break cache on release |
| जीर्णHTML | stale HTML |
English sense
On releases bump asset hashes and avoid long HTML cache so users are not stuck mid-deploy.
Context / topic
Topic: deploy interaction. Links to blue-green (19 Aug).
वृत्तमिति: ८-८-८-८।
श्लोकः १० (उपजाति)
सिमान्तः जालसमीपं वदति ।
उभौ स्मृती
भिन्नस्तराः ॥१०॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
सञ्चयधर्मः अनुप्रयोगस्मृतिं वदति
सिमान्तः जालसमीपं वदति ।
उभौ स्मृती
भिन्नस्तराः ॥१०॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| सञ्चयधर्मः | caching dharma |
| अनुप्रयोगस्मृतिम् | app memory |
| वदति | speaks |
| सिमान्तः | edge |
| जालसमीपम् | near the network edge |
| उभौ स्मृती | both memories |
| भिन्नस्तराः | different tiers |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| सञ्चयधर्मः | app cache treatise |
| भिन्नस्तराः | different layers |
English sense
Application caches and edge caches are different tiers with different invalidation tools. Do not tune one and ignore the other.
Context / topic
Topic: link to सञ्चयधर्मः (7 Sep).
सन्धिः: सञ्चयः अन्तः; सिमान्तः बहिः।
वृत्तमिति: एकादशाक्षराः पादाः।
श्लोकः ११ (अनुष्टुभ्)
एभिः सिमान्तसञ्चयः समीपसत्यसमन्वितः ॥११॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
शीर्षम् अमान्यं गोप्यं मूलरक्षा मापनं पञ्चकम् ।
एभिः सिमान्तसञ्चयः समीपसत्यसमन्वितः ॥११॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| शीर्षम् | headers |
| अमान्यम् | invalidation |
| गोप्यम् | privacy |
| मूलरक्षा | origin guard |
| मापनम् | metrics |
| पञ्चकम् | five-set |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| पञ्चकम् | headers purge privacy origin metrics |
English sense
Five limbs: correct headers, active purge, private/public rules, origin protection and edge metrics.
Context / topic
Topic: checklist.
वृत्तमिति: ८-८-८-८।
श्लोकः १२ (अनुष्टुभ्)
मितं स्मरणं क्रियायोग्यं तन्त्रधर्मः स उच्यते ॥१२॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
इति सिमान्तसञ्चयसारः समीपसत्यसमन्वितः ।
मितं स्मरणं क्रियायोग्यं तन्त्रधर्मः स उच्यते ॥१२॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| इति | thus |
| सिमान्तसञ्चयसारः | edge-cache essence |
| समीपसत्यम् | nearby truth |
| मितम् | measured |
| स्मरणम् | remembering |
| क्रियायोग्यम् | operable |
| तन्त्रधर्मः | system dharma |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| मितं स्मरणम् | measured edge memory |
| तन्त्रधर्मः | platform dharma |
English sense
Closing: remember at the edge what is safe to remember and forget on purpose when truth changes.
Context / topic
Topic: close.
उपसंहारन्यायः: समीपं स्मर; गोप्यं मा; अमान्यं शीघ्रं कुरु।
वृत्तमिति: ८-८-८-८।
श्लोकसूची / Verse index
१. Why edge
२. Headers
३. HTML vs assets
४. Purge
५. Privacy/Vary
६. TLS
७. Origin guard
८. Metrics
९. Deploy link
१०. App-cache link
११. Five limbs
१२. Close
सन्दर्भाः / References
- Prior: caching 2026-09-07; blue-green 2026-08-19; certs 2026-09-14; gateway 2026-08-12.
- Domain: CDN and HTTP edge caching.
- Bilingual word-for-word + sense.
- Style: no em dash; no Oxford comma in English clauses.