Shoutbox

Caching pages through code - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Caching pages through code (/showthread.php?tid=75270)

Caching pages through code by matty on 06-11-2007 at 08:23 PM

Ok so here is my dilemma. My friends business website sometimes will load the content slower depending on the connection (obviously) now what I am looking for is a way to have the browser download these files to cache so they will load quicker when flash tries to read the file.

Is there a way of doing this?

I dont want to store it in an internal buffer in PHP because flash wont be able to use it.


RE: Caching pages through code by Ezra on 06-11-2007 at 09:28 PM

Doesn't the browser cache xmlhttprequests?

If so you could make a couple of xmlhttprequests and don't use the response.


RE: Caching pages through code by matty on 06-12-2007 at 12:20 PM

quote:
Originally posted by Ezra
Doesn't the browser cache xmlhttprequests?

If so you could make a couple of xmlhttprequests and don't use the response.
Then the browser will ask (if using IE) to allow the ActiveX content, this is for a business website I don't want them to get the wrong idea.
RE: Caching pages through code by saralk on 06-12-2007 at 12:38 PM

Couldn't you have a few iframes that are really small (1x1) that contain all the data that you need to load?


RE: Caching pages through code by matty on 06-12-2007 at 01:15 PM

quote:
Originally posted by saralk
Couldn't you have a few iframes that are really small (1x1) that contain all the data that you need to load?
Good call, how come I didn't think of that :S