Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

How would I do this?

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  redirecting to more than one site  
Author Message
nospam

External


Since: Apr 25, 2006
Posts: 21



(Msg. 1) Posted: Tue May 16, 2006 12:06 pm
Post subject: How would I do this?
Archived from groups: alt>www>webmaster (more info?)

I'm developing an intranet site and I want to download news headlines to
display on our homepage. I've got this part to work already, but its not
efficient enough for my liking so would like to instead of refreshing and
re-downloading the headlines every time the page is visited by an internal
user, I would prefer to download the new headlines every 20 minutes on the
server side and then feed the user a static include file (dynamically
generated), so that we have minimal hits on the remote news server.

See what I mean(?), its almost as though I want a piece of code set on a 20
minute loop to generate a file based on the input of another one. Any
(preferably ASP) solutions out there already for this type of thing?

Cheers.

 >> Stay informed about: How would I do this? 
Back to top
Login to vote
Martin Jay

External


Since: May 16, 2006
Posts: 4



(Msg. 2) Posted: Tue May 16, 2006 1:44 pm
Post subject: Re: How would I do this? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In message <9qSdnTG3N8WhL_TZRVnyjA DeleteThis @bt.com>, nospam DeleteThis @invalid.invalid
writes
>I'm developing an intranet site and I want to download news headlines to
>display on our homepage. I've got this part to work already, but its not
>efficient enough for my liking so would like to instead of refreshing and
>re-downloading the headlines every time the page is visited by an internal
>user, I would prefer to download the new headlines every 20 minutes on the
>server side and then feed the user a static include file (dynamically
>generated), so that we have minimal hits on the remote news server.

Cough, well I know nothing about ASP.

However, couldn't the include file be a bit dynamic and check how long
it was since it last checked for headlines? If it was =>20 minutes ago
get headlines, serve them, and cache them for further requests.
--
Martin Jay

 >> Stay informed about: How would I do this? 
Back to top
Login to vote
Martin Jay

External


Since: May 16, 2006
Posts: 4



(Msg. 3) Posted: Tue May 16, 2006 8:12 pm
Post subject: Re: How would I do this? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In message <op.s9na6fwim9g4qz-wnt.DeleteThis@tbdata.com>, William Tasso
<SpamBlocked.DeleteThis@tbdata.com> writes
>Fleeing from the madness of the Spam Free <www.spam-free.org.uk> jungle
>Martin Jay <martin.DeleteThis@spam-free.org.uk> stumbled into news:alt.www.webmaster
>and said:
>> In message <9qSdnTG3N8WhL_TZRVnyjA.DeleteThis@bt.com>, nospam.DeleteThis@invalid.invalid writes
>>> I'm developing an intranet site and I want to download news headlines to
>>> display on our homepage.

>> Cough, well I know nothing about ASP.
>>
>> However, couldn't the include file be a bit dynamic and check how
>>long it was since it last checked for headlines? If it was =>20
>>minutes ago get headlines, serve them, and cache them for further
>>requests.

>it could but then you risk exposing your users to variations in server
>connectivity/performance outside your organisation.
>
>better to keep it as two completely separate processes.

Yes, I think that is a better solution. I'd forgotten this was an
Intranet site, which probably means regular tasks can be easily
scheduled.
--
Martin Jay
 >> Stay informed about: How would I do this? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]