[WordPress] 外掛分享: CoCart – Rate Limiting

WordPress 外掛 CoCart – Rate Limiting 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「CoCart – Rate Limiting」是 2023-03-03 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2024-07-26,距離現在已有 282 天。
  • 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

sebd86 | cocartforwc |

外掛標籤

headless | rest-api | decoupled | rate limit | woocommerce |

內容簡介

此免費外掛為 CoCart 提供額外的速率限制功能,可用在版本 4.0 以上。
只需安裝並啟用即可,無需其他設置。但若需更改任何選項,可透過 wp-config.php 檔案進行更改。
以下是 wp-config.php 中用於覆蓋預設值的常數:
define( 'COCART_RATE_LIMITING_ENABLED', true );
define( 'COCART_RATE_LIMITING_PROXY_SUPPORT', false );
define( 'COCART_RATE_LIMITING_LIMIT', 25 );
define( 'COCART_RATE_LIMITING_SECONDS', 10 );

更進階設置方式請參見速率限制指南。
此外,CoCart 也提供其他工具及程式庫,包括 CoCart Beta Tester、CoCart VSCode、CoCart Product Support Boilerplate、CoCart Cart Callback Example、CoCart Tweaks 及 Official Node.js Library 等。
如需進一步提升購物車的功能,CoCart 也有其他外掛供您選擇,如 CoCart – CORS、CoCart – Get Cart Enhanced 及 Advanced Custom Fields 等。歡迎加入 CoCart 社群共同討論建立最快速、最佳化的 WooCommerce 商店!
如有報告錯誤,可至 GitHub 上的 CoCart – Rate Limiting repository 提出,但 GitHub 並不是支援論壇。

原文外掛簡介

Enables the rate limiting feature for CoCart that is available in CoCart Plus and up.
Simply install and activate. No configuration required!
But if you want, you can change any of the options via your wp-config.php file.
★★★★★

An excellent plugin, which makes building a headless WooCommerce experience a breeze. Easy to use, nearly zero setup time. Harald Schneider

Constants
These are the constants to use in your wp-config.php which will override the default values.
define( 'COCART_RATE_LIMITING_ENABLED', true );
define( 'COCART_RATE_LIMITING_PROXY_SUPPORT', false );
define( 'COCART_RATE_LIMITING_LIMIT', 25 );
define( 'COCART_RATE_LIMITING_SECONDS', 10 );

[See guide on Rate Limiting] for more advanced setup.
🧰 Developer Tools

CoCart Beta Tester allows you to easily update to pre-release versions of CoCart Lite for testing and development purposes.
CoCart VSCode extension for Visual Studio Code adds snippets and autocompletion of functions, classes and hooks.
CoCart Product Support Boilerplate provides a basic boilerplate for supporting a different product types to add to the cart with validation including adding your own parameters.
CoCart Cart Callback Example provides you an example of registering a callback that can be triggered when updating the cart.

★★★★★

Amazing Plugin. I’m using it to create a react-native app with WooCommerce as back-end. This plugin is a life-saver! Daniel Loureiro

👍 Add-ons to further enhance CoCart
We also have other add-ons that extend CoCart to enhance your development and your customers shopping experience.

CoCart – CORS enables support for CORS to allow CoCart to work across multiple domains.
CoCart – Cart Enhanced enhances the data returned for the cart and the items added to it.
CoCart – JWT Authentication allows you to authenticate via a simple JWT Token.
and more add-ons in development.

They work with the core of CoCart already, and these add-ons of course come with support too.
⌨️ Join our growing community
A Discord community for developers, WordPress agencies and shop owners building the fastest and best headless WooCommerce stores with CoCart.
Join our community
🐞 Bug reports
Bug reports for CoCart – Rate Limiting Support are welcomed in the CoCart – Rate Limiting repository on GitHub. Please note that GitHub is not a support forum, and that issues that aren’t properly qualified as bugs will be closed.
More information

The official CoCart API plugin website.
CoCart for Developers, an official hub for resources you need to be productive with CoCart and keep track of everything that is happening with the API.
The CoCart Documentation
Subscribe to updates
Like, Follow and Star on Facebook, Twitter, Instagram and GitHub

💯 Credits
This plugin is developed and maintained by Sébastien Dumont.
Founder of CoCart Headless, LLC.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CoCart – Rate Limiting」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.2 | 1.0.3 | 1.0.4 | trunk |

延伸相關外掛(你可能也想知道)

  • Booter – Bots & Crawlers Manager 》Booter – 機器人及爬蟲管理是預防措施(事先處理)及處理機器人及爬蟲造成的損害的外掛程式。, 此外掛程式使用多種現有技術,進一步智能化並幾乎完全自...。
  • Rate limiting for Contact Form 7 》藉由限制來自單一 IP 位址的表單提交次數,防止機器人對您的收件匣進行垃圾郵件攻擊或其他不方便的行為。, 只需配置每個時間段允許的最大提交次數,使用者將...。

文章
Filter
Apply Filters
Mastodon