Support » Plugin: Raw HTML » Does this plugin create any extra front-end processing/script-load?

  • Resolved treeflips

    (@treeflips)


    Hi,

    I’d love to use this fantastic plugin (and buy the PRO version for easy switching between text/visual modes) but was wondering if the plugin adds any extra processing time or loads extra scripts for front-end users?

    As you can see, I’m awfully worried about page load time and trying to keep my sites ultra-fast performance. I’m curious to know if the code-to-raw-tags processing was done in the editor/back-end or front-end. Would be great for other users if your answer to me was also on your FAQ.

    Thanks,
    Johnny

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    It does add some processing time since it needs to process the [raw] shortcodes. This happens in the front-end, i.e. when a post or page is displayed to a visitor. Normally, it should be pretty fast.

    The plugin doesn’t load any JS/CSS in the front-end.

    Hmmm…dang. I’m very sorry to hear that but understand completely. If you ever find a workaround, I would be more than happy to pay for it!

    Plugin Author Janis Elsts

    (@whiteshadow)

    Unfortunately, it probably isn’t feasible to implement the features that this plugin has without doing stuff in the front-end. Some of the content changes that WordPress makes – like adding paragraph tags or replacing quote characters with HTML entities – happen in the front-end. If you want to prevent those, you’ll have to either run some additional code in the front-end, or build a custom theme that deliberately avoids using the standard methods of displaying posts.

    I see. I’m just trying to disable the html-filtering. I’m trying to put in ebay affiliate code and WordPress keeps stripping it out every time I switch to visual mode.

    Plugin Author Janis Elsts

    (@whiteshadow)

    Well, there are other plugins you could use for that (e.g. Post Snippets; no affiliation), but all of them will run at least some code in the front-end. I guess you could try several alternatives and compare the performance?

    Thanks for the suggestion, Janis! I might have to go down that route if no other option exists. I wish WordPress came with some filter-safe tags that you could wrap the custom HTML in.

    We figured out an option that does exactly what I wanted, I’m gonna release it to the repo soon.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Does this plugin create any extra front-end processing/script-load?’ is closed to new replies.