=== Speed Analyzer === Contributors: dalibord Donate link: https://wpservice.pro/donate Tags: performance, speed, ttfb, pagespeed Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.0 Stable tag: 1.13 License: GPL v3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.txt In-dashboard performance auditing of TTFB, request count, PSI core vitals, autoloaded options, and more. == Description == Speed Analyzer gives you an in-dashboard speed audit of your website for: 1. **Server TTFB** 2. **Requests & Page Size** 3. **Autoloaded Options** 4. **Persistent Object Cache** 5. **PageSpeed Insights (LCP & FCP)** 6. **Summary & Recommendations** 7. **Conclusion & Pro-service offer** 8. **A complete PDF report with color coding, explanations and links to the guides** It uses Cloudflare Workers and Google PSI API under the hood (your data is NOT stored on any external site). A 10-tests/day fair-use limit is enforced on the current version. PDF reporting (with color coding, explanations and links to the guides) is available from version 1.10. == Serviceware Model == Speed Analyzer is an open-source WordPress plugin that acts as a thin client for our hosted analysis service. All quota- and tier-enforcement happens on our CF Worker/Google PSI proxy. == Installation == 1. Upload the `speed-analyzer` folder to `/wp-content/plugins/`. 2. Activate the plugin through the “Plugins” menu in WordPress. 3. Go to **Tools → Speed Analyzer** to run your first audit. 4. After the tests are complete, a Generate PDF report button will be available. 5. (Optional) Upgrade at **Speed Analyzer → License** for higher quotas. All PHP and JavaScript code is included in this plugin. No features are disabled locally—every quota, gating, and license-check is performed on our remote service. == Included Files == - **assets/js/html2pdf.bundle.min.js** Bundled copy of html2pdf.js (v0.10.3) for offline PDF generation. Source: https://github.com/eKoopmans/html2pdf.js == External Services == Speed Analyzer doesn’t run any tests locally — every audit is performed by our managed service at https://globalwpspeed.dalibord79.workers.dev. 1. **Google PageSpeed Insights API** • Modules 2 and 5 of the plugin ultimately fetch (via our proxy worker) real‐time LCP/FCP/diagnostic data from Google’s PSI service. • Instead of hitting www.googleapis.com directly, the plugin sends your test URL + strategy to Cloudflare Worker, which then forwards the request to Google PSI on your behalf. – Terms of Service: https://developers.google.com/terms 2. **Cloudflare Workers HTTP Probe** – Module 1 (Server TTFB) calls https://globalwpspeed.dalibord79.workers.dev/ to measure Time-to-First-Byte from a global edge. – Modules 2 and 5 (Page asset summary and Diagnostics) now send psi_url to https://globalwpspeed.dalibord79.workers.dev/psi. That Worker then forwards the same parameters to Google PSI and returns the JSON back to the plugin. • What data is sent and when: – For TTFB: just the raw URL—no other user data. – For PSI: the URL you enter plus “mobile” or “desktop” strategy. No personal information is collected or stored. • Provider & policies: Hosted by WPservice (Dalibor Druzinec). – Privacy Policy: https://wpservice.pro/privacy-policy – No PII is collected; only your tested URL and strategy are transmitted. 3. **Usage Tiers** These are the **service-enforced** daily limits provided by our hosted service: * Free:Full capability up to 10 tests/day + 1 PDF report/day * Pro: 30 tests/day + 3 PDF reports/day * Business: 100 tests/day + 10 PDF reports/day * Agency: 700 tests/day + 100 PDF reports/day You can upgrade or view full options and pricing at https://wpservice.pro/our-products/speed-analyzer-wp-plugin/#licenses Furthermore, you can see your current tier on WordPress dashboard under **Speed Analyzer → License**. Service Terms: https://wpservice.pro/terms-and-conditions/ == Frequently Asked Questions == = Why is there a daily limit? = Because we leverage external APIs with shared quotas. You get 10 free tests/day; more or unlimited tests require a premium license. = Will you collect any of my data? = No—everything runs on your server, and no results are stored on our site. = What happens when I hit my daily test limit? = The server will return a “quota exceeded” error. You can either wait until midnight UTC or upgrade your tier to continue testing immediately. == Screenshots == 1. Dashboard view – TTFB, requests, autoload, cache. 2. PSI Diagnostics – LCP/FCP circles and diagnostics. 3. Mobile/Desktop - Mobile and desktop test functionality. 4. Conclusion – color-coded blocks with explanations 5. PDF report - page 1/7 6. PDF report - page 2/7 7. PDF report - page 3/7 8. PDF report - page 4/7 9. PDF report - page 5/7 10. PDF report - page 6/7 11. PDF report - page 7/7 == Changelog == = 1.06 = * Bumped version for avoiding trademark issues for WordPress.org release. = 1.07 = * Slug changed, readme external service addition, and minor fixes on helpers/modules.php files. = 1.08 = * Daily limit counting reworked to avoid double reduction = 1.09 = * Left and right sidebars, license outline = 1.10 = * More robust workers code * PDF reporting implemented * Minor tweaks and style changes = 1.11 = * Added another worker and API key * Minor bug fixes = 1.12 = * Added premium perks and more workers = 1.13 = * Fixed bug where modules 2 and 5 tests were not finishing properly on the slower websites