PageSpeed ऑप्टिमाइज़ेशन लाइब्रेरी, C++ क्लास का एक सेट है. यह सर्वर-इंडिपेंडेंट फ़्रेमवर्क का इस्तेमाल करके, उन वेब पेजों और संसाधनों को अपने-आप ऑप्टिमाइज़ करती है जिनका वे इस्तेमाल करते हैं. लाइब्रेरी ओपन सोर्स हैं. हम समुदाय के किसी भी योगदान का स्वागत करते हैं!
API के साथ काम करने के तीन चरण
इंस्टॉल करें
PSOL का इस्तेमाल करने के लिए पहला कदम, स्रोत से mod_pagespeed बनाना है.
ध्यान दें कि इससे Apache मॉड्यूल बनेगा, लेकिन हम नहीं
Apache या PSOL के लिए मॉड्यूल या हमारे नमूना ऐप्लिकेशन का उपयोग करके.
बिल्ड सिस्टम की सीमाओं को ध्यान में रखकर, PSOL का इस्तेमाल किया जा सकता है
पहले mod_pagespeed को कंपाइल करना ज़रूरी है.
निर्देश देखने के लिए, mod_pagespeed wiki पर
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"]]