[Support request] Inline coding

Home Forums Support Inline coding

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1169238
    Jarko

    I am securing my site with CSP and wondering if your theme & plugin is using inline scripting?

    If so would it possible to remove it in future releases to make more CSP compatible?

    (Its no recommended to use unsafe-inline with CSP)

    Why to avoid inline Javascript?
    *It’s not recommended to inline your javascript since you can’t cache them.
    *Maintainability!
    * Optimization and minification
    * Cross Site Scripting (XSS)

    Thank you

    #1169843
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Some of our CSS and JS is within the <head> section of your site, or above the closing </body> (for javascript).

    We don’t do any inline CSS/JS within the actual HTML elements.

    If you want to make sure everything is served in a separate file, I suggest using a plugin like Autoptimize.

    Let me know if you need more info 🙂

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