在Firefox装载页面时,您可以检查Firefox将哪种MIME类型与这个页面关联起来。
You can always check the MIME type that Firefox associates with a page once it loads the page.
read _ file函数使用stat函数调用检查文件的修改时间,只有在上一次装载之后修改了文件的情况下,它才重新读取文件的内容。
The read_file function USES the stat function call to check the modification time of the file, only re-reading the contents of the file if it changed since the last time the file was loaded.
在调用服务器之前,检查所需的数据是否已经装载了;如果是这样,就跳过调用。
Before calling the server, check if the needed data is already loaded and if so, skip the call.
应用推荐