archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Odea Ching" <och...@apache.org>
Subject Re: svn commit: r645833 - in /archiva/trunk: archiva-jetty/src/main/conf/jetty.xml archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessor.java
Date Thu, 10 Apr 2008 02:17:37 GMT
On Wed, Apr 9, 2008 at 8:46 PM, Brett Porter <brett@apache.org> wrote:

>
> On 09/04/2008, at 4:10 PM, Maria Odea Ching wrote:
>
>  Is it persisted to disk so it is still correct after a restart?
> > >
> >
> >
> > Yep, it's being written into the disk with different filenames and is
> > updated everytime new artifacts are discovered in the repo. Now that
> > you've
> > mentioned this, I think I should also put a check or limit as to how
> > many
> > entries in the feeds should be kept so as to prevent the size of the
> > files
> > from bloating.
> >
>
> yep, I agree - and the size should be kept small so that it's quick to
> download. You also need to make sure that the when the client requests the
> RSS, it gets the right headers to not try and update it if it hasn't changed
> for performance.
>
>
> > Hmm, by 'request' do you mean when a user clicks the rss feed icon to
> > subscribe to a feed? If it is, my only concern here is for the new feed
> > entries. Since a user only subscribes to a feed once, if we have new
> > feed
> > entries (e.g. new artifacts discovered after another repo scan) then the
> > rss
> > would only be generated or updated if another user subscribes to the
> > feed
> > :-)
> >
>
> I don't think anything happens when they subscribe to the feed - the same
> request is made every time the feed reader checks for an update. The URLs
> given inside the feed do need to remain consistent, so passing them through
> the request for the RSS makes the most sense.


Yeah, I agree it makes more sense to do this. I'll see what i can do here.
I'll open a separate jira for this and for the file size control above.


>
>
> How is the RSS accessed at the moment? I haven't checked the code -is
> there a ww action for it, or is it served as the flat file?


It's being served as a flat file so there's no ww action for it..


>
>
> - Brett
>
> --
> Brett Porter
> brett@apache.org
> http://blogs.exist.com/bporter/
>
>
Thanks,
Deng

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message