Is it possible to reload the query, but not using the cache? Edited

I'm using dynamic loading in Pocketquey 3.2.0. It is possible to load fresh data from the server when a user the reload button? Right now it's reloading data from the cache.

2 answers

1 accepted

Found a solution:

function reload (  ) {

// Find index of the dynamic load data
var dataIndex = AJS.$(".pocketquery-dynamic-load-container .pocketquery-result").index( pocketQueryContainer.eq(0) );
var pqMetaData = PocketQuery.getDynamicLoadData(dataIndex);

// Add parameter to bypass the cache
pqMetaData.parameters += "&xNUtimestamp=" + ( new Date () ).getTime();

container: AJS.$(pocketQueryContainer).closest(".pocketquery-dynamic-load").eq(0),
data: pqMetaData



Hey Jeroen,

Great to see that you could solve the problem by yourself! Just letting you know that we have basically moved our support to our service desk for PocketQuery.

Should you encounter any other problems using PocketQuery, please don't hesitate to raise a ticket at our service desk.

Thank you for using PocketQuery!

Best regards,
Sven (Scandio)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


202 views 0 4
Read article

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