Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Prember / Multiple File Support

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

@evoactivity đang làm issue này rồi.

Từ ngày 1/9/2023.

  • #147 của @evoactivity — đang mở

Đá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
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, redis
Lĩnh vực
databases, devops

Hướng nghiên cứu

Bắt đầu bằng việc xem xét điểm vào tải lên index.html hiện có của plugin và PR #80 bị từ chối của ember-cli-deploy-redis, sau đó so sánh nhiều tệp HTML được prerender do Prember tạo ra với các hướng dẫn hiện tại cho pipeline. Công việc được xem là hoàn tất khi dự án có một phương án đã được thống nhất và có thể triển khai để lưu trữ nhiều tệp HTML mà không xảy ra xung đột, đồng thời vẫn giữ nguyên các revision.

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

Mô tả

Prember pre-renders routes into a static directory structure with index.html files at build time. I'd like to be able to use the lightning strategy for deployment and pre-render my static routes. This can be supported by grabbing the files from s3 as assets, but you lose the ability to effectively use revisions, uploading the html as assets using the s3 plugin means the index.html files will be overwritten as they are not fingerprinted. I would like to upload all the html into redis just as it stores the main ember index.html file to retain the ability to have revisions.

I've noticed in the past a PR was rejected, as a use case didn't really exist at the time and the suggestion of using the plugin multiple times as part of the pipeline was the correct advice. The past issues and pr were about uploading a single other file. An app may have tens or hundreds of static routes being prerended by prember so creating a plugin entry for each html file would be cumbersome, prone to error and not very scalable.

I'm creating this issue to spark at the least a discussion about if prembers rising popularity changes the conversation around supporting multiple file support and if it should be pursued as part of this plugin.

Ngôn ngữ chính
JavaScript
Star
17
Fork
38
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 ember-cli-deploy/ember-cli-deploy-redis

Tất cả issue của ember-cli-deploy/ember-cli-deploy-redis

Issue tương tự

Thêm issue về JavaScript

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.