Hi,

On 09/04/13 13:55, Barnes, Hugh wrote:
>> The problem is that DSpace (XMLUI) could be considered broken when it comes 
>> to that: it behaves differently for requests it considers to come from bots 
>> vs other requests. For bot requests, it uses the item's last modified date; 
>> for other requests, it uses the date that the item page was last cached IIRC.
> Forgive me, I'm probably missing something. I'm curious why it would behave 
> differently in terms of caching. Can anyone explain the rationale?

The comment just above that section in sitemap.xmap reads:

> Identify web-crawling robots (spiders) to support if-modified-since
> protocol, but not on browsers because it would let pages that depend
> on authorization get cached.

Also, the relevant lines have been in sitemap.xmap since 2009, so this
behaviour has been around for a long time. People who were developing on
DSpace back then may be able to comment on this further.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to