You can mount a file in cache with php

0

I'm doing a project in which I have to upload a video series, which when looking for the file is delayed in the video change from video A to video B, this generates a blank, the idea that I have is try if it is possible to mount the list (I mean all videos) of video inside the cache so that the server does not have to perform the search within it, now what I do is load the playlist through a list in js and as it finishes, it goes through that vector and extracts the route to search for the video and show, as mentioned, this generates a delay between each video and because of the structure of the project that is not viable. Someone could tell me if it is possible and how it can be done, otherwise I could do it to reduce that response time and eliminate that delay.

Note: all videos have a weight of 5mb.

    
asked by Jhonny Luis 08.05.2018 в 03:36
source

1 answer

0

hi jhonny the topic has to do with the cache and that the videos do not expire, try to preload them all when the app is loaded so they are kept in the browser cache. I also leave you some links that will help you as soon as I have not done this kind of applications I can not guide you completely

link link

    
answered by 08.05.2018 в 04:38