RSS News Feed Errors

Lee Carre
Lee Carre
Joined: 9 Feb 05
Posts: 33
Credit: 73542
RAC: 0

RE: I have a load of

Message 25307 in response to message 25306

Quote:

I have a load of articles (9 actually), each with exactly the same web page (the one with all articles).

More normal with RSS stuff to put each article of a different page. Not a major issue but thought I would mention is if things are being “re-structured at some point.

for simplicity it's easier from a management and coding point of view to use the current method
after all, it works

i can understand other sites seperating news out into days in the archives, but BOINC projects don't have multiple items every day, and the old news isn't viewed much, so a single page is fine for the amount it's used

Want to search the BOINC Wiki, BOINCstats, or various BOINC forums from within firefox? Try the BOINC related Firefox Search Plugins

Bruce Allen
Bruce Allen
Moderator
Joined: 15 Oct 04
Posts: 1119
Credit: 172127663
RAC: 0

RE: if i may be so bold,

Message 25308 in response to message 25303

Quote:
if i may be so bold, i've got another suggestion which will help both yourselves and users with bandwidth and performance related to the feed (but this could be applied to other php pages too)

I've fixed the last-modified values and . Please confirm, and I'll check my changes into BOINC CVS.

Cheers,
Bruce

Director, Einstein@Home

Lee Carre
Lee Carre
Joined: 9 Feb 05
Posts: 33
Credit: 73542
RAC: 0

RE: I've fixed the

Message 25309 in response to message 25308

Quote:
I've fixed the last-modified values and . Please confirm, and I'll check my changes into BOINC CVS.

looks great, you're a star bruce, as long as it updates both values when a new item is added/edited (or anything else is changed so that it sends HTTP 200, rather than HTTP 304) then it'll be great

only thing left would be publishing the actual time items are posted (rather than 00:00:00) but that's only a minor thing
i wonder if it's a limitation of the news software though, but saying that, berkeley wrote it, so it should be changed really, having more descriptive titles would be good while they're at it

just out of interest (although i suppose it depends how many people use the feed) have you noticed a reduction is server load and bandwidth?
if it's a hastle to find out then no worries, there'll be at least some gain, although a large project such as Einstein might not notice it, it'll defenetly help with smaller projects with limited resources thou :)

bruce, what do you use to access the CVS? just that i'm having a bit of trouble with WinCVS

Want to search the BOINC Wiki, BOINCstats, or various BOINC forums from within firefox? Try the BOINC related Firefox Search Plugins

Lee Carre
Lee Carre
Joined: 9 Feb 05
Posts: 33
Credit: 73542
RAC: 0

found a problem with the new

found a problem with the new feed though (noticed it while using ethereal), an "expires" header is sent, it's value is the current date/time of the server, so the feed is considered stale immediately, thus no caching can be done (always returns HTTP 200)

for something which is updated randomly like a feed there should be no advanced caching directives (like cache-control or expires) so it's best to just remove it (which will allow HTTP 304's to be sent)

Want to search the BOINC Wiki, BOINCstats, or various BOINC forums from within firefox? Try the BOINC related Firefox Search Plugins

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.