S
S
SaW2018-11-09 00:23:52
caching
SaW, 2018-11-09 00:23:52

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

1 answer(s)
R
Roman Sokhin, 2018-11-09
@roamn

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 question

Ask a Question

731 491 924 answers to any question