advanced

Edge-задачи

Используйте CDN, cache-control, redirects, edge functions и WAF rules, не скрывая ownership и не ломая correctness.

На интервью по edge concerns — CDN cache-control, redirects/edge functions, WAF — edge без поломки correctness и без скрытия data ownership.

Подтемы: CDN/cache-control, edge redirects/functions, WAF/edge protection.

На интервью: cache headers для public vs personalized, когда edge functions оправдывают operational cost, мониторинг WAF false positives.

Типовые ошибки: CDN кэширует Set-Cookie, edge rewrites обходят app authorization, WAF как единственный security layer.

Чеклист:

  • Public, private или surrogate-cacheable responses.
  • Edge logic stateless и observable.
  • Purge и shield origins при spikes.
  • WAF как defense in depth с app validation.