• Resolved aimarv

    (@aimarv)


    Do we really need slug, post_id and canonical_url
    when requesting the json with the alm_query_posts action?

    If I remove it, I can cache it easier and it ll do less db queries

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    @aimarv they are required for some addons and functionality. how does removing those provide less DB queries.

    Thread Starter aimarv

    (@aimarv)

    I don’t mind the addons but I do wonder about basic functionality.
    I just need the taxonomy 😉

    Our sites are behind a (really needed) reverse proxy, and if it is ok to remove slug, post_id and canonical_url then the php/mysql hits will be reduced expotentialy 😉

    Thread Starter aimarv

    (@aimarv)

    I would love it if
    [ajaxloadmore] used the post_id etc
    and [ajaxloadmore category=”ajax”] or [ajaxloadmore taxonomy=”this” terms=”that”] totally bypassed it

    (ps that was exponentially not expotentialy)

    • This reply was modified 7 years, 3 months ago by aimarv.
    • This reply was modified 7 years, 3 months ago by aimarv.
    • This reply was modified 7 years, 3 months ago by aimarv.
    Plugin Author Darren Cooney

    (@dcooney)

    You would have to modify the core JS to remove that. There is not a setting to do so currently.

    Thread Starter aimarv

    (@aimarv)

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘(not) cacheable urls’ is closed to new replies.