Add support to invalidate / purge CDN caches

Đang mở
#1,889 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
infrastructure

Hướng nghiên cứu

Start by reading the /vscode/gallery/<namespace>/<extension>/latest endpoint and the extension publication flow mentioned in the issue. Determine which cached responses become stale when a version is published and what CDN purge mechanism the application should support. Done means the application can instruct a CDN to invalidate the relevant caches while retaining appropriate cache-control behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Open VSX does a lot of internal caching already, however when putting a CDN in front of the application the application needs a way to instruct the CDN provider to purge relevant caches i.e. when a new extension version is published.

This would allow to do even more aggressive caching, e.g. the /vscode/gallery/<namespace>/<extension>/latest endpoint

Right now, endpoints that potentially return dynamic data have explicit cache control headers no-cache to prevent that stale data is returned.

Ngôn ngữ chính
Java
Star
2.1k
Fork
362
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
44

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-openvsx/openvsx

Tất cả issue của eclipse-openvsx/openvsx

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.