*

webcity

  • *****
  • 252 posts
How to enable page count on cached pages?
« on: May 01, 2023, 08:51:28 AM »
Hi,

If I'm viewing a cached item page like (with item pages caching enabled):
https://plugins.abprofitrade.eu/real-estate/houses-apartments-for-sale/nikon-powershow-s_i1209

Is there anyway to update the page count when the page is being fetched from cache?

Many thanks

*

Wiz

  • ****
  • 153 posts
Re: How to enable page count on cached pages?
« Reply #1 on: May 01, 2023, 01:14:14 PM »
Not possible with how the current version of the cache plugin works as it is geared more towards caching static content. Listing cache only gets updated on manual regeneration or when listing is edited/updated. No harm in raising a feature request with @MB

Use other means of caching for dynamic content ie. redis, static files, opcache, cdn etc.
« Last Edit: May 01, 2023, 01:16:42 PM by Wiz »

*

webcity

  • *****
  • 252 posts
Re: How to enable page count on cached pages?
« Reply #2 on: May 02, 2023, 05:14:43 AM »
Thanks for the reply.

I'll stick with APCu for the item pages and use the cache plugin for the home and search pages, this is where the big speed gains are for page loading times when you have many listings.

Cheers

*

MB Themes

Re: How to enable page count on cached pages?
« Reply #3 on: May 03, 2023, 05:56:31 PM »
Slternative is to clean cache daily, but it may be problem if there is many items.
Another one is to load views/dynamic content via JS/ajax calls
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

webcity

  • *****
  • 252 posts
Re: How to enable page count on cached pages?
« Reply #4 on: May 04, 2023, 03:04:25 PM »
Thanks for your help :-)