View Single Post
  #13   Spotlight this post!  
Unread 27-10-2009, 11:22
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,062
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: FRC Event Data in XML Format

Currently, no I can't specify a time range, I could probably set up a way of flagging events as completed and set the cache on those regionals to infinity (ie, as long as google keeps it in cache)

Currently the process the page takes is:

Figure out what they want.
Check to see if the data is in the cache.
If it is serve the cached data
If it isn't go grab the html, parse the data (this request gets to be the lucky one that takes a longer time)
Put the new data in the cache and tell the cache to dump it in N seconds
Serve the new data.

Data is only cached when someone requests it, I am assuming that if someone REALLY wants to display data from 2007 they can wait a little bit for it. The theory I am operating on is that if one person wants the data there are probably other people who will request it shortly (ie the event is running) Obviously someone could just be curious about old match results but I am not too worried about that.
__________________




.
Reply With Quote