• @[email protected]
    link
    fedilink
    English
    0
    edit-2
    8 months ago

    My front page is 613KB with Wordpress. Moral of the story, you don’t have to use a static website generator to have light things.

      • @[email protected]
        link
        fedilink
        08 months ago

        And how do you plan to manage your posts, database etc. and render stuff in those? You still need some backend solution like Wordpress, you can use vue as a frontend library for it… or vanilla JS, or jQuery…

        • @[email protected]
          link
          fedilink
          08 months ago

          Ah, for that I’ll just dump some fast API or flask thing. Vue or flutter will just handle the front end

          • @[email protected]
            link
            fedilink
            English
            08 months ago

            So… you are aware that FastAPI and Flask will always be significantly slower than Wordpress… because Python, always running processes etc.?

            You’re building a simple website / blog just use Wordpress, it will output most of the pages into plan simple and fast HTML, then add a few pieces of vanilla JS or Vue (if you’re into that) to make things “fluffier”. Why bother with constant XHR requests when you’re just serving simple text pages?

            With Wordpress you’ll also get all the management, roles, permissions, backend for “free” and you can always, like sane people, cache the output of the most visited pages. Wordpress also provides a RESTful API if required.