• Resolved wpguillaume

    (@wpguillaume)


    Hello,
    I’ve read this answer from the plugin author on another topic:

    wp-Typography is output-oriented on purpose. It does not change the content stored in the database.

    May I ask why is that? I’m only discovering the subject of good typography practices and found out about your plugin, which seems to do a nice job.
    To avoid slowing down page loads, could the typographic parsing be applied either on demand, for text parts in the entire database, or when saving posts and pages, for instance? Maybe other plugins have made this choice?
    I understand this question might be naive, thank you for any answer. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author pepe

    (@pputzer)

    If wp-Typography directly changed the post content in the database, you would not be able to later switch settings and have them applied to all your posts. As for performance, wp-Typography uses extensive caching that is persistent on all reasonably configured platforms (i.e. using an object cache plugin).

    While it would be possible to make plugin that unhooks the on-demand filters and modifies the content on post save, I advise against doing so.

    Thread Starter wpguillaume

    (@wpguillaume)

    all reasonably configured platforms (i.e. using an object cache plugin)

    Do you mean server-side, or by using ie WP Super Cache as advised in your FAQ? Or both? Are there any server requirements that I should ask my web host for?

    Plugin Author pepe

    (@pputzer)

    I’m not sure what you mean by “server-side”, as WP Super Cache is running on the server as well. You can find more information on the WordPress object cache (including a – probably not complete – listing of plugins providing a persistent object cache) in the WordPress Codex. There is also a WPTavern article on persistent object caching.

    Thread Starter wpguillaume

    (@wpguillaume)

    Yes, sorry, I used wrong terms. I was wondering if this “platform configuration” was something the web host was in charge of (ie out of my hands, apart from asking them) or something I should do as WordPress admin. It seems to be the latter, thanks for pointing me to some documentation!

    Plugin Author pepe

    (@pputzer)

    Well, both. Most of those plugins depend on either a PHP extension (APCu) or a memory database (Memcached, Redis) being available as the storage backend.

    • This reply was modified 7 years, 8 months ago by pepe.
    Thread Starter wpguillaume

    (@wpguillaume)

    Thanks for the precision. I’ll ask them, then. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Could this plugin be database-oriented?’ is closed to new replies.