How to compress JS for PageSpeed Insights in the ALl-in-one Event Calendar plugi
-
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:
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.32I 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)?
- The topic ‘How to compress JS for PageSpeed Insights in the ALl-in-one Event Calendar plugi’ is closed to new replies.