Any recommendations to make LS Cache work with dynamic content?
-
For example we use widgets for recently viewed items, new additions or products that are on sale. When page is cached it doesn’t get updated until the cache expires and it fetches it again, it loses utility, but still not a big deal.
Other problem we face is that we serve few different regions and in order to determine what to show to the customer we save his shop preference in cookie. Of course with cache enabled the results vary and often wrong content is shown.
Is there a way to only cache certain parts of the page or modify when cache is refreshed with code snippets or something? Or cache various version of a page and serve them depending on the cookie?
- The topic ‘Any recommendations to make LS Cache work with dynamic content?’ is closed to new replies.