Caching problem `nocache`
Kenneth 7 years ago • updated by Christian Fritz 3 years ago • 3
I have a cashing problem of some sort. If I use the following bib file then it renders like described in this (http://bibbase.userecho.com/topics/148-parser-issue-if-the-key-contain-ampersand/) previous issue:
but if I add either `&nocache=1` or `&nocache=0` then it renders correctly. Any idea why this is happening. I assume that `&nocache=1` should be avoided since you probably try to reduce processing by caching the data.
Customer support service by UserEcho
Thank you so much for reporting this. It allowed me to discover a bug in our caching logic! When using nocache the cache was bypassed but a new cache entry was created (rather then the old one updated). So probably at one point there was a broken bib file and the page was loaded with nocache, and every since the cache was referring to that.
I've cleared the cache and the page is fine again now. We'll also get that bug fixed right away.
We are also running into the same problem with caching, where even if we set nocache=1, bibbase seems to be working with a cached version of the bib file.
For example, if you try
then you see that bibbase is throwing a warning due to a missed "comma" in the bib file. However, if you try to follow the bib file link https://research.seas.ucla.edu/arni/files/2019/08/arni_db.bib, you will see that the file actually already have that fixed.
Can you please help me understand this caching issue ?
When I fetch the URL of your bibtex file I get this redirect response with a cache control line. I can't say for sure, but I suspect that's where things are being cached.
Even after deleting that bibtex file manually from BibBase's cache, the result is still the same, meaning the server that is serving the file (the one that bibbase is redirected to), still serves the cached file when bibbase is requesting it. I assume that is a policy by this host, which seems to be a wordpress provider, can that be?
This issue should resolve itself eventually when the cache of your host expires. Alternatively you could use a different server to host your bibtex file, or sign up for one of our premium plans and store your file on bibbase.org directly, if that's an option for your group.