[
http://jira.dspace.org/jira/browse/DS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Larry Stone resolved DS-285.
----------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Fix committed in revision 4417; it only takes effect for requests from
identified spiders, and/or anonymous Bitstream requests, to prevent problems of
caching content available only to authorized users.
> Item and Bitstream pages do not provide Last-Modified HTTP header, nor
> recognize If-Modified-Since
> --------------------------------------------------------------------------------------------------
>
> Key: DS-285
> URL: http://jira.dspace.org/jira/browse/DS-285
> Project: DSpace 1.x
> Issue Type: Bug
> Components: XMLUI
> Affects Versions: 1.5.2, 1.6.0
> Environment: n/a
> Reporter: Larry Stone
> Assignee: Larry Stone
> Fix For: 1.6.0
>
> Attachments: ds-285-diffs.txt, ds-285-new.zip
>
>
> It is important to use the HTTP Last-Modified/If-Modified-Since conventions
> to help Web crawlers avoid requesting and downloading resources that haven't
> changed since their last visit -- it saves time and CPU load for the DSpace
> site too. The JSPUI implements this protocol on /handle and /bitstream
> servlets, since the Item splash page and Bitstream downloads are responsible
> for most of the load.
> The XMLUI needs to do this too:
> 1. Requests that return the content of an Item or Bitstream must return a
> "Last-modified" header with the Item's last-modified date
> 2. When receiving a request with an "If-Modified-Since" header, first compare
> that date to the Item's last-modified; if the header is later, return a 304
> status instead of processing the request.
> Note that the XMLUI's Sitemap implementation already does the right thing.
> I'll look into implmenting this for 1.6 if nobody else jumps on it first, but
> right now I only have time to post it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel