• @TCB13@lemmy.world
    link
    fedilink
    English
    18 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.