PageSpeed 최적화 라이브러리는 서버 독립적 프레임워크를 사용하여 사용하는 웹페이지와 리소스를 자동으로 최적화하는 C++ 클래스 집합입니다. 라이브러리는 오픈소스이며 커뮤니티 참여를 환영합니다.
API 작업을 위한 3단계
설치
PSOL을 사용하기 위한 첫 번째 단계는 소스에서 mod_pagespeed를 빌드하는 것입니다.
이렇게 하면 Apache 모듈이 빌드되지만,
Apache, PSOL용 모듈 또는 샘플 애플리케이션을 사용합니다.
PSOL에서 사용하는 빌드 시스템의 일반적인 한계로 인해
mod_pagespeed를 컴파일하는 데 필요합니다.
mod_pagespeed 위키의
HowToBuild
이 단계를 완료하면 다음 명령어를 입력합니다.
cd INSTALL_DIR/src/pagespeed/automatic
make all
드림
그러면 다음 위치에 pagespeed_automatic.a 라이브러리가 생성됩니다.
현재 디렉터리에 있습니다
샘플 애플리케이션을 참조로 사용
mod_pagespeed 소스에는 PageSpeed 최적화와의 간단한 통합이 포함된 디렉터리가 있습니다.
라이브러리. 파일에서 Makefile, 기본 클래스, 기본 프로그램을 살펴보세요.
[null,null,["최종 업데이트: 2024-10-11(UTC)"],[[["PageSpeed Optimization Libraries (PSOL) are C++ classes that automatically optimize web pages and resources, independent of the server."],["PSOL is open-source and welcomes community contributions."],["To use PSOL, you need to build mod_pagespeed, then build the PSOL library using provided instructions."],["A sample application and API documentation are available to guide integration and usage."]]],["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"]]