U need disallow useless requests, for example .png .mp4,mb some .js / .css e.t.c. and u need to test, that ur denied requests dont impact ur script normall work
@naeem For a sensible answer, I need to know more information. Which JSON file is it and what is it for?
JSON file is easy to create, just click "Write to file", for example, with the name "my_file.json". You can find the content (syntax) of JSON here: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON