Ideas

This board is only for raising and voting on feature requests (Ideas / Suggestions).
Please raise any Bugs via "Get Help" button on your calendar admin dashboard.

Improve Widget Size

The overall widget size is a huge drain on pages and it needs to be improved. Here's our observations:

The JavaScript file [http://live-suu.time.ly/?ai1ec_js_widget] generates some CSS at the very beginning of the file. In this CSS, there is an "@font-face" declaration to load the "Timely_FontAwesome" font. That declaration includes multiple source URLs where the font may be found.

Here's the problem: one of these source URLs is a base64 data URL, which means the entire font is included in the script already. The script is bloated to 1 MB because of this. In addition, the data URL isn't even the first source listed, so it will never be used unless the others fail (but they'll still be attempted first, wasting more time). And finally, this file isn't cached, so it will be downloaded every time the widget loads.

When we run our pages through performance checks, any page with a Timely widget on it earns an F grade due to the size.

 

  • SUU Web Services
  • Feb 23 2016
  • Shipped to WP & Hosted
  • Attach files
  • Admin
    Robert Whiteside commented
    February 24, 2016 16:35

    We've don recent improvements to overcome these performance recently, just by caching some files, but we have planned to do a CSS clean-up as well soon, and later a refactoring of the whole code required to be loaded in various views.

    Thank you for this, we'll keep you posted...

  • Jonathan Clark commented
    February 25, 2016 23:32

    Quite agree; the load time of calendar is ridiculous compared to the rest of my WP site.

  • SUU Web Services commented
    April 18, 2016 15:19

    What do you mean by "shipped" on this? Because the widgets are still over a MB in size. If this isn't resolved by June, I'm going to have to start shopping around for a calendar alternative. This is a dealbreaker for me.