這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Fix Event Calendar Caching

外掛說明

The “All-in-One Event Calendar” by Time.ly works great, but uses dynamic javascript.
This plugin creates a static version of the javascript that can be cached by
the browser.

I have tested this plugin with versions 2.1.9 and 2.2.0 of the event calendar plugin.
It may work with future releases, but use it at your own risk.

This plugin only uses the static javascript on the frontend. If a user is
logged in, the original dynamic script will be used. As far as I can tell
caching the javascript does not interfere with the plugin’s functionality, but
there may be features of the event calendar that do not work with this plugin.

安裝方式

  1. Upload the fix-event-calendar-caching directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. The plugin needs write access to it’s folder to create the static js file.

常見問題集

How can I clear/update the cached javascript?

Anytime the All-In-One Event Calendar settings are saved, the cached javascript is recreated.
You can also clear the cache by deleting the event-cal-x.x.x.js file in the plugin folder.
A new version of the All-In-One Event Calendar will also trigger a new cached javascript.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Fix Event Calendar Caching〉的開發相關工作。

參與者

將〈Fix Event Calendar Caching〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0.0

  • Fixed problems with the calendar pages. A bug was preventing agenda, week, and day view
    from working properly.
  • Creates a unique cache file for each event-calendar javascript link

1.2.0

  • Cached javascript is now cleared when the event calendar settings are updated
  • Refactored code to improve code reuse
  • Added hash to cached javascript url to ensure it loads the most recent version
  • Plugin now uses the AI1EC_VERSION constant to load the version number

1.0.1

  • Added sanity check before creating cache file