• Resolved bemay1

    (@bemay1)


    Can you give tips to improve the speed of gamipress (not the basic like good hosting, or cache, some advanced tips specific for gamipress) especially on the first time serve response (ttfb). I have the impression since I use gamipress the ttfb went up… I admire your work 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @bemay1 !!

    The speed of your website almost always depends on the server and it depends 90% since every time you install a plugin such as WooCommerce, it adds new processes such as products, listing products with prices, the shopping cart, the whole process shopping etc.

    So for each plugin that is installed it is evident that more resources are spent, so if you have more and more plugins installed, the resources that your server needs will be greater, so it is normal that you experience slowdowns.
    For our part, GamiPress is programmed to be optimized as much as possible and give as few problems as possible.

    Anyway it is possible that GamiPress can slow down some process if you have configured several awards.

    For example, the LearnDash integration includes several events based on the quiz completion (if a user completes it, if pass or fails, if a user has completed it with a minimum grade, etc).

    If you configure 20 requirements (points awards, deducts, steps, and rank requirements) it could make the process slow down since GamiPress needs to check if a user is able to earn all of them and also if the user should earn something more (like an extra achievement, or award extra points for something, etc).

    For that, the way you can speed up some process is by reducing the number of requirements that are using this event (for example, if you have 20 achievements looking for the same event, reduce them to 10).

    The GamiPress awards engine is developed to run as fast as possible but it is understandable that it will run slower if it is required to perform several checks on a single action.

    There are some improvements you can apply to your database and server but these recommendations are outside the GamiPress support since they are related more to server management and improvement than to GamiPress.

    Please, make them on a staging site first and always consult them to your hosting provider first:

    1) Check all our guidelines about database performance as explained here: https://gamipress.com/docs/advanced/database-performance/
    Note: If you are not sure how to apply them, contact your hosting provider and send them this document to check this for you.

    2) Clean up GamiPress “Event Trigger” logs from GamiPress -> Tools -> General -> Clean-Up Logs Tool.

    3) Remove the GamiPress points awards or achievements and ranks requirements you don’t truly need (to reduce the number of awards).

    4) Enable Memcached on your server (talk with your hosting team support).

    Hope it helps!

    Thread Starter bemay1

    (@bemay1)

    Wow, that is a response of someone that cares about what he does! I highly appreciate the answer and will use it 🙂

    Plugin Contributor Paco González Pérez

    (@pacogon)

    You’re welcome @bemay1!

    If you have any other questions, feel free to ask me.

    Have a nice day!

    🙂

    dennisdevink

    (@dennisdevink)

    @pacogon I recently paid a developer a lot of money to optimise all the gamipress rules. They are no longer a strain on my server now. However, this cost more than years worth of gamipress subscription.

    That means gamipress could and should do some work to optimalise the way things work, I suppose. At some point, you need the rules, it is wat gamipress is for. Advice like: have less rules, is not what I chose gamipress for.

    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @dennisdevink

    GamiPress is open source so if you or your developer have found a way to improve it, you can contribute those improvements in our repository here:
    https://github.com/rubengc/GamiPress

    And our team will be more than happy to implement it so everyone will get benefited about it

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tips for more speed’ is closed to new replies.