Experiencing lags from time to time (10-30 seconds to load a page)

deldeldeldeldeldel

deldeldeldeldeldel

The fact is that CF very often creates such difficulties, especially during peak hours, disable CF and test for a couple of days. Use Nginx cache Hestia, install Redis and see.

Your Kadenсe theme is good, but still a little heavy, you can try Blocksy, it is better optimized. Although your Google Analytics is dragging your numbers down, when you disable CF you will see a difference.



deldeldeldeldeldel

deldeldeldeldeldel

Π‘F only DNS, proxy off.

deldeldeldeldeldel

deldeldeldeldeldel

It’s also possible that you haven’t added a plugin for each site. There are many ways to get your server IP even for CF(don’t worry about it), use for example Fail2ban+ Nginx. Also test the cache usage time for your Woocommerse cart, maybe it should be reduced, for example 30 minutes

deldeldeldeldeldel

deldeldeldeldeldel

Just copy robots.txt this into your website folder /home/user/web/opensource. angellive.ru/public_html (Replace user and website with yours). Also copy bots.d to /etc/nginx, and [conf.d](https:// GitHub - mitchellkrogza/nginx-ultimate-bad-bot-blocker: Nginx Block Bad Bots, Spam Referrer Blocker, Vulnerability Scanners, User-Agents, Malware, Adware, Ransomware, Malicious Sites, with anti-DDOS, Wordpress Theme Detector Blocking and Fail2Ban Jail for Repeat Offenders) from the repository to your /etc/nginx/conf.d two files: 1. botblocker-nginx-settings.conf and globalblacklist.conf. In this case, edit botblocker-nginx-settings.conf, it will look like this

##############################################################################                                                                
#       _  __     _                                                          #
#      / |/ /__ _(_)__ __ __                                                 #
#     /    / _ `/ / _ \\ \ /                                                 #
#    /_/|_/\_, /_/_//_/_\_\                                                  #
#       __/___/      __   ___       __     ___  __         __                #
#      / _ )___ ____/ /  / _ )___  / /_   / _ )/ /__  ____/ /_____ ____      #
#     / _  / _ `/ _  /  / _  / _ \/ __/  / _  / / _ \/ __/  '_/ -_) __/      #
#    /____/\_,_/\_,_/  /____/\___/\__/  /____/_/\___/\__/_/\_\\__/_/         #
#                                                                            #
##############################################################################                                                                

# Version 1.1
# ! new directives also to be added to include_filelist.txt ! #



variables_hash_max_size 4096;
variables_hash_bucket_size 4096;
limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s;
limit_conn_zone $binary_remote_addr zone=addr:50m;

# ****************************************************************************
# NOTE: IF you are using a system like Nginx-Proxy from @JWilder
# ****************************************************************************
# Repo URL: https://github.com/jwilder/nginx-proxy
# You will need to comment out the first line here as follows. 
#     #server_names_hash_bucket_size 128;
# You will also need to modify the nginx.tmpl file to add the default include
#     include /etc/nginx/conf.d/*
# ****************************************************************************

To update, use manual

cd /etc/nginx/conf.d && sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/conf.d/globalblacklist.conf -O /etc/nginx/conf.d/globalblacklist.conf && sudo nginx -t && sleep 5 && sudo service nginx reload && cd

Or configure automatic from repository update-ngxblocker. Restart Nginx on the server. You won’t be able to pay me, I live in the Russian Federation, remember me in joy, that’s enough)


1 Like

deldeldeldeldeldel

deldeldeldeldeldel

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.