[
https://issues.apache.org/jira/browse/FELIX-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639068#action_12639068
]
Rob Walker commented on FELIX-659:
----------------------------------
This would also help the HttpService in returning resource modification
timestamps to aid in browser and proxy caching.
With FELIX-407, the HttpService now sets modification timestamps, but it relies
on the getLastModified() call of the URLConnection where these are bundle
resources.
> Should lastModified() from "bundle:" URLs return JarEntry.getTime() instead
> of Bundle.getLastModified()
> -------------------------------------------------------------------------------------------------------
>
> Key: FELIX-659
> URL: https://issues.apache.org/jira/browse/FELIX-659
> Project: Felix
> Issue Type: Improvement
> Components: Framework, Specification compliance
> Reporter: Richard S. Hall
> Priority: Minor
>
> Currently, we return Bundle.getLastModified() for the last modified time of
> bundle resource URLs with the protocol "bundle:". It might even be better if
> we returned JarEntry.getTime() to get the actual last modified time of the
> JAR entry instead. However, this is somewhat complicated since we don't
> expose this information to the upper layers. This would need to be included
> in our abstraction, especially since bundles do not have to be JAR files. It
> is not clear if this would have any significant overhead penalty, but I think
> not since the JAR file would most likely already be open.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.