• Resolved silent2000

    (@silent2000)


    Hi. Your plugin is very good optimize our site score, but after 1 week we noticed, that all js scripts broken now, and it’s related to CORS problem. Before we start use your plugin, we have some custom CSP rules (see first screenshot please). And after activate your plugin, it’s many error with content policy again now, How we can fix this, maybe add some rules?

    https://paste.pics/S5XCM
    https://paste.pics/S5XD9

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Nikita Anisimov

    (@nikitaanisimov)

    Hi there,

    Thank you for reaching out, and I’m sorry to hear you’re experiencing issues with our plugin.

    CORS errors are generally expected behaviour, as Booster attempts to load scripts via a worker in the background to reduce load times. In cases where the CORS configuration blocks the worker, the resources are still loaded, but a CORS error is logged in the console.

    Typically, this shouldn’t cause any UI or scripting issues, but you mentioned you’re facing JS problems on the front-end. In such case, you can try the following troubleshooting steps:

    1. You can locate the conflicting JS files / scripts and exclude them from 10Web Booster using this guide.?
    2. You can exclude the plugin responsible for the section. For example, if the gallery of the website is not loading, excluding the gallery plugin should solve the issue. Please, check the Fixing issues with plugins/themes/services section of this guide.?
    3. You can simply disable the JavaScript Delay option from the Website Booster > Settings section. You can find more information about the Settings of 10Web Booster in this guide.?
      ?

    Before checking the results, please, make sure to clear the website cache from the Settings section and from Cloudflare CDN section if you have it enabled.

    Please keep us posted,

    Cheers,

    Nik from 10Web.io

    Thread Starter silent2000

    (@silent2000)

    Hi. Thank you for detail response. One more question – is it possible to add worker in our CSP setup?
    Like here https://paste.pics/S6AYC

    Plugin Support Mane Grigoryan

    (@manegr)

    Dear @silent2000 ,

    Thank you for your question! It seems there might be a little confusion regarding the setup. We don’t typically implement a CSP (Content Security Policy) setup directly on WordPress websites at 10Web. This would generally be managed by the hosting provider or through specific security plugins.

    I would recommend reaching out to your hosting provider for further clarification on how to manage or add workers within a CSP configuration, as this falls under their control.

    Let me know if you need any further assistance!
    Regards, Mane

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.