We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24278
    • 165 Posts
    Hi!

    How can I cache database queries, in MODx? Is there a resource, where I can learn more about it?

    Usage:
    I have products under different folders output on the home page by ditto sorted by pub_date.
    When I (click) view the first product (i would like a previous and next link to the other products, as output by ditto).
    The PJN snippet shows only children of a particular parent and as such will mislead the user who has reached the product page from the ditto output.
    Therefore, everytime the user clicks next or prevoius I would not like to run the SQL query again.

    Hope i’ve been able to explain myself. I am not a programmer, so this question may seem silly grin

    All help is appreciated.

    -Raavi