Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to compress JS for PageSpeed Insights in the ALl-in-one Event Calendar plugi

$
0
0

Replies: 0

Hello friends very grateful to the developers for a great plugin but I had serious difficulties because of the plugin during site optimization. these difficulties lie in the fact that Google swears on resource compression using gzip-compression functions.The error looks like This:

https://goo.gl/fJtn73

list of scripts that can not be compressed:

all-in-one-event-calendar/public/js/scripts/calendar/agenta_view.js?ver=2.5.32
all-in-one-event-calendar/public/js/scripts/calendar/print.js?ver=2.5.32
all-in-one-event-calendar/public/js/scripts/event.js?ver=2.5.32
all-in-one-event-calendar/public/js/scripts/event/gmaps_helper.js?ver=2.5.32
all-in-one-event-calendar/public/js/scripts/calendar/agenda_view.js?ver=2.5.32
all-in-one-event-calendar/public/js/libs/select2_multiselect_helper.js?ver=2.5.32
all-in-one-event-calendar/public/js/libs/frontend_utils.js?ver=2.5.32
all-in-one-event-calendar/public/js/external_libs/bootstrap/tab.js?ver=2.5.32
all-in-one-event-calendar/public/js/external_libs/jquery.scrollTo.js?ver=2.5.32

I see that the problem is that the scripts specified in the screenshot are no more than a byte in size, because of this they can not be combined into a single file by the caching plugin. How can I cancel the output of these scripts plugin all-in-one calendar events and add their output yourself through the function.in PHP (of course pre-combining all the scripts in a single file)?


Viewing all articles
Browse latest Browse all 59525

Trending Articles