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
@MAB-Tech There is too little information to assume anything.
Please answer the question, or better yet, attach the project that is causing the problem to the forum's private messages.