Title: Fix Event Calendar Caching
Author: Daniel Mahaffy
Published: <strong>February 2, 2015</strong>
Last modified: March 11, 2015

---

Search plugins

![](https://ps.w.org/fix-event-calendar-caching/assets/banner-772x250.jpg?rev=1082408)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/fix-event-calendar-caching/assets/icon-256x256.png?rev=1082583)

# Fix Event Calendar Caching

 By [Daniel Mahaffy](https://profiles.wordpress.org/danielmahaffy/)

[Download](https://downloads.wordpress.org/plugin/fix-event-calendar-caching.zip)

 * [Details](https://wordpress.org/plugins/fix-event-calendar-caching/#description)
 * [Reviews](https://wordpress.org/plugins/fix-event-calendar-caching/#reviews)
 *  [Installation](https://wordpress.org/plugins/fix-event-calendar-caching/#installation)
 * [Development](https://wordpress.org/plugins/fix-event-calendar-caching/#developers)

 [Support](https://wordpress.org/support/plugin/fix-event-calendar-caching/)

## Description

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.

## Installation

 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.

## FAQ

  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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Fix Event Calendar Caching” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Daniel Mahaffy ](https://profiles.wordpress.org/danielmahaffy/)

[Translate “Fix Event Calendar Caching” into your language.](https://translate.wordpress.org/projects/wp-plugins/fix-event-calendar-caching)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/fix-event-calendar-caching/),
check out the [SVN repository](https://plugins.svn.wordpress.org/fix-event-calendar-caching/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/fix-event-calendar-caching/)
by [RSS](https://plugins.trac.wordpress.org/log/fix-event-calendar-caching/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **2.0.0**
 *  Last updated **11 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.1 or higher **
 *  Tested up to **4.1.42**
 * Tags
 * [cache](https://wordpress.org/plugins/tags/cache/)[calendar](https://wordpress.org/plugins/tags/calendar/)
   [javascript](https://wordpress.org/plugins/tags/javascript/)
 *  [Advanced View](https://wordpress.org/plugins/fix-event-calendar-caching/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/fix-event-calendar-caching/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/fix-event-calendar-caching/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/fix-event-calendar-caching/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/fix-event-calendar-caching/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/fix-event-calendar-caching/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/fix-event-calendar-caching/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/fix-event-calendar-caching/reviews/)

## Contributors

 *   [ Daniel Mahaffy ](https://profiles.wordpress.org/danielmahaffy/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/fix-event-calendar-caching/)