How to disable eXist cache for debugging?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to disable eXist cache for debugging?

Olaf Schreck
Hi,

I'm chasing a bug in an eXist app, and saw these in urlrewrite.log:

2017-05-21 16:56:00,517 [qtp1076855029-28] DEBUG (XQueryURLRewrite.java [service]:241) - Checked cache for URI: /exist/ib-prc/ original: /exist/apps/ib-prc/

How can I disable this caching for debugging?  Just to make sure the cache is
not involved in the problems I'm seeing.

Thanks,
Olaf

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: How to disable eXist cache for debugging?

Hungerburg
Am 2017-05-21 um 17:09 schrieb Olaf Schreck:
>
> I'm chasing a bug in an eXist app, and saw these in urlrewrite.log:
>
> 2017-05-21 16:56:00,517 [qtp1076855029-28] DEBUG (XQueryURLRewrite.java [service]:241) - Checked cache for URI: /exist/ib-prc/ original: /exist/apps/ib-prc/
>
> How can I disable this caching for debugging?  Just to make sure the cache is
> not involved in the problems I'm seeing.


A common way of /cache busting/ is to add irrelevant though always
different query strings to the URL, eg: http:/..../ib-prc/?rnd=1234

--
peter

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: How to disable eXist cache for debugging?

Joe Wicentowski
In reply to this post by Olaf Schreck
Hi Olaf,

See the section of http://exist-db.org/exist/apps/doc/urlrewrite.xml#D1.2.8 that explains the "cache-control" element.

Joe

On Sun, May 21, 2017 at 11:09 AM, Olaf Schreck <[hidden email]> wrote:
Hi,

I'm chasing a bug in an eXist app, and saw these in urlrewrite.log:

2017-05-21 16:56:00,517 [qtp1076855029-28] DEBUG (XQueryURLRewrite.java [service]:241) - Checked cache for URI: /exist/ib-prc/ original: /exist/apps/ib-prc/

How can I disable this caching for debugging?  Just to make sure the cache is
not involved in the problems I'm seeing.

Thanks,
Olaf

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open