Is a million users hitting one file on the server the same as a million users hitting a million different files?
Is a million users hit开发者_如何学运维ting one file on the server the same as a million users hitting a million different files?
It depends on the web server.
However, static files are likely to be cached in memory, so I would assume that 1 million users accessing the same file will be faster.
Depends on server configuration and software. You'll need to measure.
精彩评论