[WordPress] 外掛分享: Vivio Swift

首頁外掛目錄 › Vivio Swift
WordPress 外掛 Vivio Swift 的封面圖片
全新外掛
安裝啟用
尚無評分
2176 天前
最後更新
問題解決
WordPress 4.0+ PHP 5.6+ v2020040301 上架:2018-02-18

內容簡介

Vivio Swift WordPress Accelerator (beta) 是一款外掛,透過提供全面性的頁面緩存系統,使用 .htaccess 檔案完全繞過 PHP,來改善您的網站速度和載入時間。此版本的主要目標是展示並獲得關於 Vivio Swift 所提供的頁面緩存系統、排除系統、日誌功能和刷新事件的回饋意見。

頁面緩存

高度侵略性的預設緩存系統,可在大多數安裝中立即使用
將負擔相對較重的 PHP 頁面轉換為載入速度快的 HTML 頁面
大幅減少網頁伺服器的 CPU 和記憶體使用
大幅減少資料庫伺服器的 CPU 和記憶體使用
使用非常快的 .htaccess 重定向,完全繞過 PHP 處理引擎
通過使更多的網站頁面可緩存,顯著提高現有 CDN 優勢

瀏覽器緩存

基於文件類型的靈活瀏覽器緩存
基於內置類別(如圖像、靜態資源等)將文件類型分組
能夠創建自己的文件組並根據您的需要進行配置

排除系統

高度可配置的排除系統,可防止對重要的請求進行緩存
根據 cookie 或各種基於路徑的屬性來排除請求

日誌系統

全面的日誌系統可向您顯示 Vivio Swift 中發生的情況
不同的日誌級別可為您提供所需的多少信息。

刷新事件

在發生某些事件(例如發佈新文章)時更新緩存

從靜態資源中刪除查詢字符串

從靜態 WordPress 資源中刪除查詢字符串,以使它們更易於緩存

常見問題的解決方案

為了為用戶提供好處,Vivio Swift 外掛需要在前端代碼(HTML、JavaScript 和 CSS)與後端代碼(PHP)之間提供清晰的抽象。許多開發人員在開發過程中沒有花時間將前端代碼從後端代碼中清晰地分離出來是可以理解的,因為這往往可以用最短的時間完成項目,但在開發人員社區中通常被認為是不良的編碼慣例,有充分的理由。

將前端代碼和後端代碼混合在一起的頁面將成為您在使用 Vivio Swift 時遇到的絕大多數問題的原因。如果您不是開發人員,Vivio Swift 外掛提供了您需要的工具,以避免這些頁面參與緩存過程。您將會失去 Vivio Swift 在這些頁面上提供的速度優勢,但在沒有這些問題的頁面上使用 Vivio Swift,您仍然可以獲得好處。查看 Vivio Swift 外掛中的“排除”區域,以了解您可以為您的網站設置哪些類型的排除,如果您想利用 Vivio 的擴展支持服務,請聯繫我們,我們可以為您設置這些規則。

如果您是開發人員(特別是主題開發人員),可以通過將前端代碼與後端代碼分離開來,大大減少用戶的加載時間。具體而言,使用 JavaScript 從 WordPress 網絡服務中提取數據,而不是在您的主題或外掛的前端嵌入 PHP 函數。這將不僅使 Vivio Swift 的主題或外掛的性能更好,而且對所有緩存層(例如 CDN)都更好。

缓存支持是可营销的特性!

外掛標籤

開發者團隊

⬇ 下載最新版 (v2020040301) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Vivio Swift」→ 直接安裝(推薦)

原文外掛簡介

The Vivio Swift WordPress Accelerator (beta) improves your sites speed and load times by providing a comprehensive page caching system that completely bypasses PHP using .htaccess files. The primary goal of this realease is to demonstrate and get feedback on the page caching systems, exclusion system, logging features, and refresh events that are provided by Vivio Swift.
Page Caching

Highly aggressive default caching system works out-of-the-box on most installs
Converts processing-heavy PHP pages to fast-loading HTML pages
Dramatically reduces web server CPU and Memory use
Dramatically reduces database server CPU and Memory use
Completely bypasses PHP processing engine using extremely fast .htaccess redirects
Dramatically improves existing CDN benefits by making more site pages cachable

Browser Caching

Flexible Browser caching based on file types
Group file types based on built-in catagories, like images, static assets, etc
Ability to create your own file groups and configure caching to your specific needs

Exclusion System

Highly Configurable exclusion system prevents caching to important requests
Exclude requests based on cookies, or various path-based attributes

Logging System

Comprehensive Logging System tells you exactly what’s going on within Vivio Swift
Distinct logging levels provides you with as much or as little information as you need.

Refresh Events

Update your cache whenever certain events occur, like when you publish a new post.

Remove Query Strings from Static Resources

Remove query strings from static WordPress resources to make them easier to cache

Solutions to Common Problems
The Vivio Swift plugin requires clear abstraction bettween front-end code (HTML, JavaScript, and CSS) and back-end code (PHP) in order to provide a benefit to it’s users. A great number of developers do not take the time to properly and clearly separate front-end code from back-end code in their development processes. While mixing front-end code with back-end coe is understandable from a “get the project done in the shortest amount of time possible” standpoint, it is generally considered to be bad coding practice by the established developer community for good reason.
Pages that mix front-end code and back-end code are going to be the cause of the vast majority of problems you will experience while working with Vivio Swift. If you’re not a developer, the Vivio Swift plugin provides the tools you need to work around those pages by excluding them from the caching process. You will lose the speed benefit from caching that Vivio Swift provides on those pages, but you will still benefit by using Vivio Swift on the pages that don’t have those issues. Check out the “Excludes” area in the Vivio Swift plugin to see what types of excludes you can set up for your site, or contact us if you would like to take advantage of Vivio’s Extended Support service and we can set these rules up for you.
If you are a developer (particularly a theme developer) you can drastically decrease your users load time by separating out your front-end code from your back-end code. Specifically, use JavaScript to pull data from a WordPress web service instead of embedding PHP functions on the front-end of your theme or plugin. This will theme’s or plugin’s performance not only be much better with Vivio Swift, but with all caching layers (like CDN’s).
Caching support is a marketable feature! Boost your sales by letting your users know that your theme or plugin is fully compatible with caching plugins like Vivio Swift.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon