현재 모든 Discourse 플러그인은 JS/CSS 요청을 최소 하나씩 추가하는 것으로 보이며, 이로 인해 페이지당 요청 수가 상당히 증가합니다. 예를 들어, 홈페이지에는 약 다음과 같은 요청이 있습니다: - 30개의 JS 파일 (script src=“…”) - 20개의 CSS 파일 (link rel=“stylesheet”) 필요한 네트워크 요청 수를 줄이기 위해 이러한 에셋을 결합할 수 있는 Discourse 옵션(app.yml을 통해)이 있나요?
OlehKuryshko
(Oleh Kuryshko)
1
Falco
(Falco)
2
아니요, HTTP/2를 사용하면 해당 옵션이 필요 없기 때문에 그런 옵션은 없습니다.
Related topics
| 글 | 댓글 | 조회수 | 활동 | |
|---|---|---|---|---|
| Optimise speed - js and images | 6 | 1020 | 12월 31, 2019 | |
| In Discourse, all js and css files are presented separately. Why don't we combine them into one or two files and present them? | 10 | 763 | 5월 9, 2024 | |
| Does Discourse consider integrate JsDelivr? | 3 | 832 | 10월 8, 2021 | |
| Javascript Aggregation | 1 | 539 | 6월 6, 2020 | |
| Question about web app loading | 1 | 150 | 3월 25, 2025 |