PageSpeed 最適化ライブラリ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
PageSpeed Optimization ライブラリは、サーバーに依存しないフレームワークを使用して、ウェブページと使用するリソースを自動的に最適化する C++ クラスのセットです。ライブラリはオープンソースです。どんなコミュニティへの貢献も歓迎します。
API を使用するための 3 つのステップ
インストール
PSOL を使用するための最初のステップは、ソースから mod_pagespeed をビルドすることです。
これにより Apache モジュールがビルドされますが、ここでは
またはサンプル アプリケーション用のモジュールを使用します。
PSOL が採用するビルドシステムには現在の制約があり、
mod_pagespeed をコンパイルするのに必要です。
手順については、mod_pagespeed Wiki の
HowToBuild:
その手順が完了したら、次のコマンドを入力します。
cd INSTALL_DIR/src/pagespeed/automatic
make all
これにより、ライブラリ
pagespeed_automatic.a
が生成され、
ディレクトリに移動できます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],["PageSpeed Optimization Libraries (PSOL) optimize web pages using a server-independent framework. To use PSOL, first build mod_pagespeed from source, which generates `pagespeed_automatic.a`. Then, navigate to the `INSTALL_DIR/src/pagespeed/automatic` directory and execute `make all`. The sample application in the mod_pagespeed source directory provides examples in the Makefile, main class, and main program. Finally, the API documentation offers class library information. Community contributions to the open-source libraries are encouraged.\n"]]