> I realized htdig always REINDEXING my complete site no matter if a
> document's last modification date matched the servers last mod date or not.
> Tracking down things, I found that ref->DocTime() ALWAYS returns 0 even if
> the given url has a mod date (m:XXXXXXX) value in the database (verified
> with htdump).

> I guess, the problem lies in the conversion of the m:xxxxxx (seconds since
> epoch) value maybe somewhere in mktime.c or such???

At least at the moment, I cannot reproduce this, which is why I have not
responded sooner. So let me at least ask a few questions which might help:

1) Do you see actual, formatted dates in htsearch results? (These
obviously need to do the same access.)
2) Where do you determine that ref->DocTime() is returning 0?
 I ask, in part because htdump is going to access this as well:
            fprintf(fl, "\tm:%d", (int) ref->DocTime());
3) Are you sure the server is returning a Last-Modified header for files?
4) Does the server properly handle the If-Modified-Since header?
 (To see that this header is sent, check in Document.cc line 525 or so for
the output sent by htdig.)

-Geoff



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to