One of the most common problems which you may see in dealing with CQWP is the delaying of fetching the content from its source, like a list library for example.
I do make a search and found many solutions, one of the most efficient and simple is trying this to instantly presenting the content in CQWP without any delay is disabling caching.
but why such scenario happened?
it’s due to some cases like :
- Items are checked-out
- Items are not published and not-approved
Such behavior is logical ; User’s are working on their items, and work in progress – you shouldn’t show such items instantly !
so what’s the solution ?!
simply you should put the UseCache property to : False.
How cani do this ?
you have many ways, you can open the page containing the CQWP with SharePoint designer in the design mode select the CQWP and switch to code view and add the following property:
UseCache=”False” to the <WpNs(n):ContentByQueryWebPart .. element (with (n) an integer).
but this scenario may not be succeeded due to many reasons.
The better solution is to do the following :
make the page in edit mode, then i exported the CQWP which make delay.
after that i edited it using notepad and change the property UseCache to False, then save the CQWP with another name so as to keep the source safe.
finally importing this CQWP by pressing the add a webpart link inside the page which is in edit mode.
all my contents now appear immediately without any delay :).
here you are references for such problem: