• Resolved protestkit

    (@protestkit)


    I am trying to reduce my Redis memory usage. I wonder if disabling caching videos will help, they are relatively big afterall. Is it possible in w3tc to disable caching of a specific file format?

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

    (@vmarko)

    Hello @protestkit

    Thank you for reaching out and I am happy to help!

    W3 Total Cache does not cache the videos as they are, it caches the HTML pages on which the video may be embedded, meaning that only the URL of the video is part of the cached page. Also, If you have enabled the Browser Caching, W3TC adds the rules for cache-control header, expires headers and others, to encourage the caching on the browser.

    This being said, you should check the Redis memory against the features enabled in the W3 Total Cache that may be using this module.

    Can you please share what is the Redis memory at the moment?

    Thanks!

    Thread Starter protestkit

    (@protestkit)

    Thank you for your response Marko.

    My Redis memory usage is through the roof at 5.5 gb out of 3 gb ram available (that’s what my hosting webpanel displays). Do you have any guide how to configure Redis for w3tc? My site is very small (up to 1 order per hour) and I am sure I need to configure something differently…

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @protestkit

    Thank you for your feedback.
    Can you please sahre the website URL?

    You may try the following:

    • FLUSHDB – clears currently active database
    • FLUSHALL – clears all the existing databases

    However, be careful here.

    FLUSHDB deletes all keys just in the current database (0 by default), while FLUSHALL deletes all keys in all databases (on the current host).

    You may want to try this approach

    https://phoenixnap.com/kb/clear-redis-cache

    Before all this try restarting redis service.

    Thanks!

    Thread Starter protestkit

    (@protestkit)

    Sure, protestkit.eu. I will try flushing later at night, thanks for the tips.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable caching .mp4 files’ is closed to new replies.