bluehost / endurance-page-cache

Other
25 stars 12 forks source link

Minification Breaking LayersWP sites. #2

Closed marcperel closed 7 years ago

marcperel commented 7 years ago

Hey Guys,

Great work on the EPC, we have an issue however, some sites using the EPC and Layers are having an issue where their sliders are breaking, no doubt this is related to the minification.

The minification script is not clearing single line comments //, for example this script is kept in the minified script and essentially comments out the rest of the code:

// Anchors

It can be seen in the source here: http://www.hummingbirdcrackers.com/about/

MikeHansenMe commented 7 years ago

Thanks for reporting this issue @marcperel. https://github.com/bluehost/endurance-page-cache/commit/9e090cb03ac352af7c5e62792d894800a09de115 should fix the problem.

marcperel commented 7 years ago

Baller, thanks @MikeHansenMe