Web developer. Lead developer of PieFed

  • 57 Posts
  • 472 Comments
Joined 2 years ago
cake
Cake day: January 4th, 2024

help-circle











  • This is good advise, listen to dan. WP Super Cache is amazing although getting it working just right can take some tweaking.

    The Redis Object Cache plugin is worth a try. It’ll only take a minute to set up.

    Is it 200k users or 200k page loads? Those are really different as each user will load multiple pages in a month. If it’s 200k page loads then that server is way way too powerful (and expensive). Don’t let a crappy developer hide their lack of optimization skills by throwing your money at the problem.



  • When I do a curl request to the feddit.online API endpoint I can log in fine. If I use an invalid password I get the expected error message.

    rimu@rimu-mate2 ~ $ curl --request POST \
      --url https://feddit.online/api/alpha/user/login \
      --header 'Content-Type: application/json' \
      --data '{
      "username": "rimu",
      "password": "valid password"
    }'
    {"jwt":"some gibberish"}
    rimu@rimu-mate2 ~ $ curl --request POST   --url https://feddit.online/api/alpha/user/login   --header 'Content-Type: application/json'   --data '{
      "username": "rimu",
      "password": "invalid password"
    }'
    {"code":400,"message":"incorrect_login","status":"Bad Request"}