內容簡介
Traffic Limiter 是一款非常實用的外掛,適用於具有大量媒體文件的部落格,以避免產生高流量成本。
此外掛提供了三種流量限制方式:每日、每週和每月,如果超過限制,下載會被重新導向到自訂網址,或是顯示自訂訊息。關於圖片,您可以定義預設圖示,顯示在訊息之前。此外,您可以為註冊使用者和訪客設定下載頻寬。
此外掛還包括了一個統計系統,用於顯示當前的流量消耗和個別檔案的統計資料,以了解哪些媒體消耗流量最多。
所有檔案都由一個 PHP 腳本發送給瀏覽器,支援大部分的 HTTP headers,如 If-Modified-Since(緩存)和 Range(部分下載)等。
如果已安裝 Apache 擴展程式 mod_rewrite,下載鏈接保持不變,否則媒體檔案的鏈接會自動重新導向。 建議安裝 mod_rewrite,但此外掛也可以在未安裝此擴展程式的情況下正常運行。
注意:如果您提供大量檔案下載或媒體檔案,建議您嘗試我的下載管理員外掛 WP-Filebase。
外掛標籤
開發者團隊
原文外掛簡介
Traffic Limiter is a useful addon for blogs with many media files which can cause high data traffic.
There are three traffic limits to avoid over traffic costs: daily, weekly and monthly limit. If one of these limits is exceeded downloads will either be redirected to a custom URL or a custom message is displayed. For images you can define a fallback icon which is displayed instead of the message. Additionally a download bandwidth can be set for registered users and guests.
Also included is a statistic system which displays the current traffic consumption and individual file stats to see which media produces the most traffic.
All files are sent to the browser by a PHP script, supporting the most HTTP headers like If-Modified-Since (for caching) and Range (for partial downloads)
If the Apache extension mod_rewrite is installed download links stay the same, if not links to media files are automatically redirected. It is recommended to install mod_rewrite, although this plugin works without this extension.
Note: If you provide lots of downloads or media files you should try my download manager WP-Filebase.
