• Resolved wordpresser

    (@mohammedays)


    Hi and thank you for the great plugin, I really love it.
    I have been having issues with my site since it is growing in the past months I have more than usual visits to the extend that my hosting plan cannot handle it anymore and I did upgrade my plan but still no luck maybe the last option is to get a dedicated server.

    I have been told that my site consumes too much memory and bandwidth I did some changes here and there but still having the same issue.

    I noticed in this plugin that there is disk caching and memory caching, I wonder if I can solve my issue by changing the setting of those or maybe only use disk caching to not overuse the memory.

    I am not an expert nor a developer but I am trying.

    can you please tell me if there is a way to set up this plugin to maybe reduce the memory usage and bandwidth.

    thank you

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

    (@vmarko)

    Hello @mohammedays

    Thank you for reaching out and I am happy to assist you with this.
    This mostly depends on your hosting environment and your server resources.
    By default, W3 Total Cache is caching to disk, meaning that Page Caching, Minify, OC, and DB caching when enabled automatically cache to disk.
    If the hosting plan allows, you can install a PHP Redis or Php Memcached and use Memory based caching. You should also make sure that enough memory is allocated for each feature.
    It would be great if you could share information about your hosting environment and your website URL.
    I hope this helps!
    THanks!

    Thread Starter wordpresser

    (@mohammedays)

    @vmarko I see there is memory cache and there is disk in the developer tool please see this pic so I think they allow.

    I am with Bluehost. my issue is that Bluehost told me that I am using too much resources and I would like to know if there is a way to reduce that by using the plugin. they mentioned that the site consumes too much bandwidth and CPU which is causing my site to get down whenever I have much traffic.

    I also wonder if using a cache plugin could causes a too much memory or CPU usage?

    Thank you so much

    • This reply was modified 3 years, 1 month ago by wordpresser.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mohammedays

    What I was referring to is the caching method for W3TC modules.
    So if you have enabled Page Caching, Object Caching, Database caching, and Minify, all set to Disk as a caching method, then everything will be cached to disk.
    What you are seeing when inspecting via chrome is that”Memory Cache” stores and loads resources to and from Memory (RAM). So this is much faster but it is non-persistent. Content is available until you close the Browser.
    “Disk Cache” is persistent. Cached resources are stored and loaded to and from the disk.
    Simple Test: Open Chrome Developer Tools / Network. Reload a page multiple times. The table column “Size” will tell you that some files are loaded “from memory cache”. Now close the browser, open Developer Tools / Network again, and load that page again. All cached files are loaded “from disk cache” now because your memory cache is empty.

    I am not sure which hosting plan you have. If you are on shared hosting, then most likely you have limited resources which may cause your problems. To avoid this, make sure that for example Object Caching and Database caching are disabled if caching to disk, and upgrade your hosting plan to VPS or Dedicated server.

    I hope this helps!
    Thanks!

    Thread Starter wordpresser

    (@mohammedays)

    @vmarko great points that is what I wanted to know. thank you so much!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mohammedays

    You are most welcome!

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to set up the plugin to help reduce memory usage’ is closed to new replies.