cache mpeg files on page load, html + php -


i have page ajax page prowser. on 2 slides embedded player play mpeg or flv video file.

first time page viewed file loaded , on slow internet connections stop-start since is beeing showen , loaded @ same time.

can auto-cache 2 files on page load cached , ready when visitor ready watch them?

br. anders

first of should take care http headers cache control. make sure static files being served following header (use firebug verify):

cache-control: max-age=3600

however, not have full control on caching, it's web-browser cache large files or not.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -