
內容簡介
WP Resources URL Optimization 是一個 WordPress 外掛程式,可優化瀏覽器快取,
它能大大提高網站頁面顯示速度,同時減輕伺服器處理靜態檔案的壓力。
預設的 wp 會在靜態檔案後面加上查詢字串(版本號),以確保靜態檔案已修改並能立即執行到瀏覽器(前端),這種方法有一個缺點:
無論檔案是否已修改,瀏覽器都會向伺服器發出請求,
如果檔案已被修改,它將下載新檔案,
如果未修改,則會返回 http 狀態碼 304,以通知瀏覽器讀取本地快取。
此外掛程式的目標: 當檔案未被修改時,不必重新向伺服器發出請求,
而是直接閱讀瀏覽器快取。
相關連結:
外掛程式主頁
作者主頁
在 GitHub 上
外掛標籤
開發者團隊
原文外掛簡介
WP Resources URL Optimization is a WordPress plugin optimized browser cache,
it will greatly enhance the website page display speed and reduce the pressure of the server to handle static files.
Default wp added after the static files the query string(version number) to ensure that the static files are modified
immediately after the performance to the browser (front-end), this way there is a drawback:
the browser will request the server regardless of whether the file is modified,
If the file has been modified it will download the new file,
if the file has not been modified http status code 304 is returned to inform the browser reads the local cache.
The goal of the plugin: do not have to re-initiate the request to the server,
and directly read the browser cache when the file has not been modified.
Related Links:
Plugin Homepage
Author Homepage
on GitHub
