وردپرس

can’t exclude file from js minify


Hi,

On the main page there is a leaflet map with placholder on it with the following text on scroll: “use ctrl + scroll to zoom the map”. This should be translated to german, but the german js doesn’t load if powered cache is enabled.

If you have a look in the devtools / network / js, there is a CORS error for the following file: https://cdn.exploring-the-nature.com/wp-content/plugins/powered-cache/includes/file-optimizer.php??/wp-content/plugins/ootb-openstreetmap/assets/vendor/leaflet-gesture-handling/./locales/de.js

I added the following file path to the excluded files of minified JS and also to the rejected files of the CDN and purged the cache: /wp-content/plugins/ootb-openstreetmap/assets/vendor/leaflet-gesture-handling/locales/de.js

But unfortunately it still tries to load the minified version from the CDN and the js breaks.

Please use F12 for dev tools because right click is disabled. Thank you for the support in advance!

The page I need help with: [log in to see the link]

پایان/ مرجع وب و فناوری

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا