Topic: A lot of css and js files….?

Home Pro Support Forums General Support A lot of css and js files….?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6480
    Rick van Dalen
    Participant

    When i test my site in GTmetrix I notice that ICS calendar produces a lot of css and js files.
    Is this really necessary? Can this be optimized?

    /app/plugins/ics-calendar/assets/style.css?ver=10.8.1
    /app/plugins/ics-calendar-pro/assets/style.css?ver=4.4.6.1
    /app/plugins/ics-calendar-pro/assets/view-full.css?ver=4.4.6.1
    /app/plugins/ics-calendar-pro/assets/view-masonry.css?ver=4.4.6.1
    /app/plugins/ics-calendar/assets/script.js?ver=10.8.1
    /app/plugins/ics-calendar/assets/r34ics-ajax.js?ver=10.8.1
    /app/plugins/ics-calendar-pro/assets/js.cookie.min.js?ver=3.0.1
    /app/plugins/ics-calendar-pro/assets/script.js?ver=4.4.6.1
    /app/plugins/ics-calendar-pro/vendors/fullcalendar/index.global.min.js?ver=6.1.1
    /app/plugins/ics-calendar-pro/vendors/masonry/masonry.pkgd.min.js?ver=4.2.2

    #6481
    room34
    Keymaster

    I’m working on a way to only include the Full and Masonry assets when they’re actually needed (when those views are being used). The other assets are all needed but could possibly be combined. The plugin generally should work with other plugins that combine JS and CSS files. (I unfortunately had to roll back some efforts I had made in deferring and conditionalizing some of these because of conflicts with those plugins.)

    #6484
    room34
    Keymaster

    I decided to prioritize the “low hanging fruit” of these optimizations for today’s updates.

    ICS Calendar 10.8.2 and Pro 4.4.7 are now available.

    ICS Calendar 10.8.2 eliminates the r34ics-ajax.js file, and now uses minified versions of its main JS and CSS files.

    ICS Calendar Pro 4.4.7 eliminates these files: js.cookie.min.js, view-full.css and view-masonry.css, and also uses minified versions of the remaining JS and CSS files.

    • This reply was modified 7 months, 1 week ago by room34.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.