• Hi there I’ve noticed, that your plugin always outputs its needed CSS as inline <style> element. This is a bad practice and leads to duplicate CSS insertions if multiple Gallerys are used on one page.

    I highly encourage you to improve your code performance by changing the way your CSS gets inserted from an inline <style> element to a linked file. This way the CSS only gets inserted once!

    Heres a link to the WordPress Docs, which tells you how to do this.

    Thank you for updating and improving your Plugin 🙂

    https://wordpress.org/plugins/photoswipe-masonry/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unnecessary CSS Output – Performance Improve’ is closed to new replies.