Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Daryll Doyle

    (@enshrined)

    Hi @alriksson,

    This plugin should have little to no effect on site performance as it only actually runs anything during upload or in the admin screens to fix SVG views.

    It doesn’t enqueue anything on the front end of the site at all!

    The other plugin looks like it does a replacement of some sort on the front end so yes this will be more lightweight but I can’t comment on what difference it may make.

    Cheers,
    Daryll

    Hey guys,

    My plugin is slightly different in usage in that it allows you to render your SVG files inline.

    But as mentioned in my other post, mine does not use any sanitization library at this point. But you can restrict uploads to administrators.

    So it depends on how you want to use SVG files.

    I think both of our plugins are so light weight, you would not see a performance difference with or without them in terms of slowing anything down. You could possibly even run them together… though I haven’t tried for quite some time. You’re likely to see performance increase because you’ll be using SVG files instead of images which can be much much smaller.

    Safe SVG is an awesome plugin too!

    Thread Starter Rookie

    (@alriksson)

    Hehe thanks for the answers guys.

    I also ready use SVG support but looked into changing some/delete plugins to see what effect the speed. But if non of them enqueue anything or runs on the frontend while not uploading anything I’m happy with that.

    Maybe I switch the plugin or maybe I won’t or I do it myself in code. Many thanks for the answers guys!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sanitised SVGs’ is closed to new replies.