• Resolved sinapars

    (@sinapars)


    Hi team,
    I have a site with very, very high traffic, especially at specific times, when more than 300 people enter the site and log in at the same time in a 15-minute period, and it has been a problem with resources and excessive use of CPU for some time. I am currently not using any user-side cache plugin (except object cache) and I am looking to install a plugin that has the best performance according to my needs. Can your plugin suit my needs? Or should I check all plugins in action?
    WEB Server : Apache and Nginix
    BR

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sinapars

    Thank you for reaching out and I am happy to assist you with this.
    W3 Total Cache is the most complete caching solution you can find. So yes, you should be using it for Page Caching, Minify assets, and using Browser Cache for example.
    One thing that I want to mention is that W3 Total Cache usage also depends on the resources available on your server. So if you are on shared hosting, most likely you do not have a memory-based option for caching available like Redis or Memcached.
    Can you please share any information about your hosting and shared the website URL?
    Thanks!

    Thread Starter sinapars

    (@sinapars)

    Hi @vmarko, Thanks For the Response
    I have a VPS server and use Redis Object Cache Extension and Redis Object Cache Plugin:

    CPU Model: Intel(R) Xeon(R) CPU E5-2696 v4 @ 2.20GHz
    CPU Details: 8 Core (2197 MHz)
    Distro Name: CentOS Linux release 7.9.2009 (Core)
    Kernel Version: 3.10.0-1160.80.1.el7.x86_64
    RAM: 12GB

    Apache version: Apache/2.4.54
    PHP version: 7.4.28
    MySQL version: 10.5.18-MariaDB
    Web Servers: nginx-varnish-apache
    Unfortunately, site is run a local server and does not access from the internet

    I am really confused, which plugin will be more suitable for me among all the competitors?!
    BR

    • This reply was modified 3 years, 8 months ago by sinapars.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sinapars

    Thank you for your feedback.
    Just to confirm, does the problem occurs when the users are Logged-in to the application or simply visiting the website at the same time?
    I am asking this because caching for logged-in users is not recommended. The reason for this is that sensitive information may be shown to other users. Depending on your application, user name, email, address.. etc.
    Can you please confirm that you are looking to cache for logged-in users or visitors?

    Thanks!

    Thread Starter sinapars

    (@sinapars)

    Hi Again @vmarko ,
    Firstly thank you to for check details and ask me questions,
    The answer is almost yes.
    There is a restricted page on my site that users must log in to access in order to display its content, so when users visit the desired page, they are first directed to the login page (WordPress default) and then Enter the username and password and you will be redirected to the corresponding page
    And because this transaction is done simultaneously and with about 300 to 400 users, it causes high consumption of resources, especially CPU.
    BR

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sinapars

    Thank you for your feedback.
    What I can see in the Server description is that is very bulky and powerful.
    Still, what you are asking is very complicated because W3 Total Cache, or any other plugin for that matter cannot cache pages for individual users, this being said, caching pages for logged-in users in the case you described would be very dangerous when it comes to sharing sensitive data.
    Wan you can try (this depends on your website), is to enable caching for logged-in users and exclude specific pages from being cached. Fore example /my-account/, /cart/ etc.

    I hope this helps!

    Thread Starter sinapars

    (@sinapars)

    Hi @vmarko ,

    First of all, thank you very much for informing me about the cache of logged in users and its dangers, because I had no information about this and it was not mentioned in any source.
    You are absolutely right, I installed the WP-Rocket plugin and activated the user caching option, and for each user who logged in to the site, it created a folder for that user and put the cached contents in it, but unfortunately Not only did it not help me, it caused more load and the site completely crashed during load time
    I think that considering that users have to log in to my site, the cache on the user side cannot be very efficient and I have to look for other ways

    BR

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Pre-installation questions’ is closed to new replies.