Using Bob Swift Cache with Run Self-Service Reports


We use Bob Swift's Run extensively and we are trying to now implement the Cache plugin to reduce database load and db connection issues.

I have tried embedding the sql-query macro inside the Cache macro using a dummy query that takes about 30 seconds to run. The assumption is that after the first run, the table will render instantly upon refresh. But it is taking the full 30s every time.

Interestingly, I have the showDate set to True, and the date of the render at the top will stay unchanged, yet the query still seems to still take the full amount of time to run on every page load. Is there something I am missing here with configurations or setup?

Here is the code on the Confluence page (we have 130k JIRA issues and 437 custom fields so the SQL here takes about 30 seconds)




FROM jiraissue AS j 
LEFT JOIN customfieldvalue AS c ON c.issue =
LEFT JOIN customfieldoption AS o ON = c.stringvalue





Kevin Tracy

1 answer

The query should only be run if the date (from showDate) changes. What version of Confluence? Make sure you are not on Confluence 5.9.5 or 5.9.6 - see Advisory on Confluence 5.9.5 and 5.9.6.

Thank you - we are indeed on 5.9.5. I will see if we can move to 5.9.7

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,321 views 93 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you