wp-media/wp-rocket
Composer 安装命令:
composer require wp-media/wp-rocket
包简介
Performance optimization plugin for WordPress
README 文档
README
Feel free to browse the source and keep track of our plugin's progress. You can stay informed of our latest versions via our blog or via Twitter @wp_rocket.
We aim to help make the web faster, one WordPress website at a time. That’s why we created WP Rocket. It's a caching plugin that simplifies the process and helps decrease a website’s load time.
If you are not a developer, visit our documentation.
Documentation
Need detailed setup instructions?
We are very proud of WP Rocket’s knowledge base. We have documentation in English and French.
You can also check out our changelog.
Composer installation
You can use composer to install the plugin as a dependency:
composer require wp-media/wp-rocket
To be able to validate your license and use the plugin, you will also have to manually define 2 constants in your wp-config.php file:
WP_ROCKET_EMAILwhich is the email for your WP Rocket accountWP_ROCKET_KEYwhich is your API Key
Gulp Tasks
| Command | Description |
|---|---|
| CSS Tasks | |
gulp build:saas:unmin |
Builds Full admin CSS, the unminified version (wpr-admin.css) |
gulp build:saas:min |
Builds Full admin CSS, the minified version (wpr-admin.min.css) |
gulp build:sass:all |
Builds all admin CSS files (wpr-admin.css, wpr-admin.min.css, wpr-admin-rtl.css, wpr-admin-rtl.min.css) |
gulp sass:watch |
Watches all admin CSS files mentioned above and builds them again with any change. |
| JS Tasks | |
gulp build:js:app:unmin |
Builds admin app js file, the unminified version (wpr-admin.js) |
gulp build:js:app:min |
Builds admin app js file, the minified version (wpr-admin.min.js) |
gulp build:js:lazyloadcss:min |
Builds lazyload CSS js file, the minified version (lazyload-css.min.js) |
gulp build:js:all |
Builds all js files mentioned above (wpr-admin.js, wpr-admin.min.js, lazyload-css.min.js, wpr-beacon) |
gulp build:js:beacon |
Builds beacon script (wpr-beacon.min.js, source file, and map file) |
gulp js:watch |
Watches all js files changes and build them again with any change. |
Support
Need help with something? Open a ticket and we will be happy to help you out!
Bugs
If you find an issue in WP Rocket, please let us know here. Be advised, this point of contact is to be used to report bugs and not to receive support. Check out our support page if you need to submit a ticket.
Security Policy
Reporting Security Bugs
You can report any security bugs found in the source code of the site-reviews plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.
Contributions
Feel free to check out our GitHub issues if you would like to request a feature. We always look forward to feedback and suggestions from the community to help us improve our plugins!
Want to know more about our WordPress plugins?
Visit wp-media.me.
We also make other plugins that help speed up WordPress websites. Check out:
- Imagify: it's a great WordPress plugin to optimize your images and speed up your website.
Special thanks
Thank you BrowserStack for your support and helping us do cross-browser testing easily!
wp-media/wp-rocket 适用场景与选型建议
wp-media/wp-rocket 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.35M 次下载、GitHub Stars 达 752, 最近一次更新时间为 2018 年 02 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「minification」 「cache」 「wordpress」 「lazyload」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 wp-media/wp-rocket 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wp-media/wp-rocket 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 wp-media/wp-rocket 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Asset Management for PHP
repository php library
Laravel 5 - Repositories to the database layer
PHP client for the Google Closure Compiler API in one file.
PHP Code Minifier is a tool that allows you to minify your PHP code.
Asset Management for PHP
统计信息
- 总下载量: 1.35M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 753
- 点击次数: 26
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-02-27
