On Sep 26, 2016, at 12:53 PM, Richard Hipp <d...@sqlite.org> wrote: > > On 9/26/16, Warren Young <w...@etr-usa.com> wrote: >> On Sep 25, 2016, at 11:27 PM, Maninder Singh Suri <manimatt...@gmail.com> >> wrote: >>> >>> Now when I open any page, these js and css files being served are a hit >>> and miss. >> >> I think I’ve seen the same thing under different circumstances. A doc URL >> in a wiki document pointing at an SVG graphic I want displayed inline in the >> wiki article doesn’t always load on the first try. > > I need a way to reproduce the problem in order to fix it.
I’ve just tried to create a simple Fossil repository that shows this, but have failed to replicate it so far. Yet, I also just verified that it still happens with a much larger, much older repository here. Unfortunately, the problem repository is private, and my only large public repo has no wiki documents. For what it’s worth, here’s what I tried to replicate it: mkdir doc-404-test cd doc-404-test/ f new ../doc-404-test.fossil f open ../doc-404-test.fossil mv ~/Desktop/blacklab.jpg . f add blacklab.jpg f ci -m 'added jpeg' f serve Then I added a Markdown-flavored wiki document, with this content: ![black labrador](/doc/trunk/blacklab.jpg) I’ve also tried: 1. Moving the repo to my main internal Fossil server and accessing it through it. (Yes, I prepended /doc-404-test to the URL at that time.) 2. Serving the same repo from a Linux box I normally don’t serve from. (That makes 3 OSes tested: CentOS 7, OS X 10.11, and FreeBSD 10.2.) 3. Added a bunch of textual content, both above and below the image. 4. Same thing, only with an SVG. 5. Both JPEG and SVG in same document. None of these attempts caused the problem to reoccur. My guess is that there is some problem that only shows up when the repo gets large enough. Since it’s intermittent, that makes me think “race condition,” but that seems unlikely for an ACID-compliant DBMS. Further complicating the issue is the browser cache, of course. As a web developer, I dump my caches fairly often, but normal people aren’t going to do that, so they’ll be much less sensitive to the issue. I don’t recall seeing inline images in any of the SQLite embedded docs. That may be a way to try to replicate it. _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users