Home > front end >  Chrome debugging problems
Chrome debugging problems

Time:09-27

Oneself set up a test site, the index. The HTML contains only a period of 24 KB text, inside a 27 KB image to a 66 KB video of a total of three parts of contents, with Google browser to access the first visit to have 3 request, but then refresh the page when only two requests, the less the request of the video file, if the interval between first and second visit in more than 30 seconds, second visit request will not lack of video file, every time I want to set up access to complete loading again all web pages how to operate, the content of the server version of Windows phpstudy integration environment, the mysql + nginx, have to disable the browser cache function, tried to enforce refresh, cleaning up a data access once, can't solve this problem

CodePudding user response:

Images and video address followed by a timestamp, url + '? '+ Date. Now ()

CodePudding user response:

reference 1/f, three dozen soy sauce response:
images and video address followed by a timestamp, url + '? '+ Date. Now ()

Thank you for your answer, but the js timestamp will affect the access speed, I have to find another way, Google browser even banned cache, repeat the refresh when a page it will take video data from the browser memory, so just jump out of the page, the current page of memory was released, and back to when all to retrieve data from the server, I get so, access to the current page, and then enter a non-existent address in the address bar 111. com, for example, carriage return visit, and then jump to 404 pages, and then point back to back to the web page just now, so that all requests will be sent to the server again to get the data
  • Related