Web Development Thread, HTML tag help in Coding and Web Development; I'm currently using a screensaver that directs to a powerpoint presentation saved as an htm file on my webserver so ...
14th April 2008, 03:43 PM #1
HTML tag help
I'm currently using a screensaver that directs to a powerpoint presentation saved as an htm file on my webserver so that i can add content as often as i like. Currently this works well although recently i've noticed that none of the computers have been caching the presentation resulting in high amounts of network traffic constantly during screensaver activity.
I thought the default behavior of a web page was to cache locally unless specified not to using the <META HTTP-EQUIV=CACHE-CONTROL CONTENT="NO-CACHE"> tag but doesn't seem to be the case here. Anyway i've added the tag <META HTTP-EQUIV=CACHE-CONTROL CONTENT="NO-STORE"> which is meant to cache locally but not archive and seems to have done the trick although none of the pictures are caching so is still causing high amounts of network traffic. Also do i need to add an expires tag to this now so to force a check for new additions? or does the NO-STORE tag take care of this?
14th April 2008, 05:02 PM #2
I've never really got to grips with the cache tags (they won't do what I want!) but could you do it differently and force your own caching.
We do something a bit similar with our noticeboards at machine startup they use robocopy to copy across images etc from a server to the C: drive and stuff is then displayed from there. This means that even if an image is shown 50 times a day, it's only read once from the server when it's new. Even if someone manages to delete the cached files they get put back at machine startup.
Thanks to srochford from:
16th April 2008, 11:26 AM #3
That sounds like a good idea but would like to see if i can get it working this way first seeing as i spent so much time getting this to work originally ;¬)
18th April 2008, 04:03 PM #4
Doesn't look like i'm going to get anywhere doing it this way. I could do something like you mention, as the screensaver i have just needs redirecting to a local htm file but wouldn't i need to install Robocopy onto all stations first seeing as this isn't installed as part of the XP OS!?
18th April 2008, 05:54 PM #5
No need to install it is simply a standalone executable, you could set your scheduled (on boot) tasks to point to it on a server share and run it from there.
Originally Posted by randle
21st April 2008, 03:03 PM #6
Thanks so much for this idea. Just been playing about this arvo and managed to get it running this way. I didn't realise you could execute robocopy from a remote location....Anyway i added a startup script to a GPO with the /MIR switch and works a treat. I can't believe i didn't think of this in the first place
By Uraken in forum Coding
Last Post: 5th March 2008, 12:35 PM
By robbied69 in forum Coding
Last Post: 29th February 2008, 04:37 PM
By alan-d in forum Web Development
Last Post: 17th April 2007, 07:56 AM
By Simcfc73 in forum Web Development
Last Post: 1st March 2007, 02:27 PM
By Norphy in forum Web Development
Last Post: 2nd March 2006, 03:16 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)