Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

デフォルトテーマでは極力外部ライブラリを使わない様にしたい #5184

Open
tao-s opened this issue Sep 29, 2021 · 2 comments
Labels
enhancement 機能追加
Milestone

Comments

@tao-s
Copy link
Contributor

tao-s commented Sep 29, 2021

概要(Overview)

現状ではbootstrap、jQuery、fontawesomeなどを使っていますが、全体として使っている量が少ない、かつロード、パース、レンダリングに時間がかかるので、デフォルトではもっと軽量化した物にしたい。
そもそも今使っているCDN経由のライブラリが広くブラウザでキャッシュされているか?それをちゃんと利用できているか?を確認して、適切なCDNを使うようにしたい。(できればCDN経由でも使わない)

期待する内容(Expect) or 要望 (Requirement)

最小限のHTML、CSS、JS、CWVに配慮したテーマに。

環境 (environment)

  • EC-CUBE: 4.0.x
@nanasess
Copy link
Contributor

2.17 では jQuery や slick-carousel などの JS ライブラリ、 CSS は eccube.js とともに webpack で minify してますが、同じようなことをしたら改善されますかね?
サーバー側でも適切なキャッシュ設定が必要ですが。

@tao-s
Copy link
Contributor Author

tao-s commented Sep 30, 2021

@nanasess eccube.jsとfunction.jsに分かれてるのも謎です。
まとめてminifyでも良いのですが、CDN使った方が全体として速かったりと逆にCDN使わない方が良いとか、ちゃんと検証した上で決めたいです。

@chihiro-adachi chihiro-adachi added the improvement 機能改善 label Oct 20, 2021
@chihiro-adachi chihiro-adachi added this to the 4.1.x milestone Oct 20, 2021
@chihiro-adachi chihiro-adachi added enhancement 機能追加 and removed improvement 機能改善 labels Oct 20, 2021
@chihiro-adachi chihiro-adachi modified the milestones: 4.1.x, 4.x Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 機能追加
Projects
None yet
Development

No branches or pull requests

3 participants