Answer the question
In order to leave comments, you need to log in
How to not cache dynamic content block with WP Super Cache plugin?
It's a common topic, but I couldn't find an answer on Google.
Does anyone have an example of how to display a block with dynamic content (views, rating) so that they are not cached?
Answer the question
In order to leave comments, you need to log in
Hello.
WP Super Cache - generates exactly the static cache of the entire page. You can bypass it using ajax data loading.
For example, getting the number of views - after loading the page.
You can also implement a rating that will be loaded dynamically on top of the cached data by ajax request.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question