• Hi

    Whenever I post a new article, the query to load the page is taking too long. Debugging showed that the query from Contextual Related Posts crp_get_attachment_id_from_url() took 24 seconds to finish.

    In settings, Cache Posts Only is disabled and Cache HTML Output enabled. Should I switch back to the original settings? Server already have Varnish Cache I believe. Any ideas?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ajay

    (@ajay)

    Is this happening at every page load or only the first one? The cache settings are good to have especially if you only have a single entry and should work super quick for all subsequent loads.

    The first load is usually the heaviest as it tries to fetch the posts IDs.

    Thread Starter Amber Patterson

    (@imblue87)

    Hi

    Its just on the first load, I thought my site was slow due to a lot of articles but it was the plugin.

    So, what option would be better? Cache Posts Only or Cache HTML Output?

    Thanks

    Plugin Author Ajay

    (@ajay)

    Cache HTML Output would be the fastest option as it reduces the plugin to a single query only.

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

The topic ‘Query Too Slow’ is closed to new replies.