Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 14, 20231 yr On IC cloud, Guest users who are not logged-in are served cached pages. Any way to disable cached pages to guests who are not logged-in and serve live data? Edited December 14, 20231 yr by WebCMS
December 14, 20231 yr There is no way to disable the caching. This is intended by design of our infrastructure to deliver content more efficiently and performant to guest users.
December 14, 20231 yr Author How much is the cache lifetime for guest users? For how many minutes are the pages cached?
December 14, 20231 yr Author 15 minutes is too high and not good for conversions/sign-ups. People want to see the web pages and activity before they decide to sign up. If they are refreshing once in 15 minutes, that's a bummer. Creating a request for an optimal solution for this.
December 14, 20231 yr Actually it's a great way to promote conversions/signups. "Want to see real-time conversations? Signup now for free and join in on the discussion!" Every post is not delayed by 15 minutes... it means the oldest the content for that specific page could potentially be is 15 minutes old. A page inside might have a version only 3 minutes old. Another page might be a "live" page that had not been served from cache at all. It depends on the specific edge server the end user connected to and if someone else in the last 15 minutes requested that same exact page as well. Think of it as a "worst case" scenario. Also... my community has around 400 people online at a time. (Around 500 right now.) There are not THAT many new posts in 15 minutes that it will make a tremendous difference honestly. But given this is the way the system is designed, it's not a bug. The official answer would be to make a suggestion to change this by posting in the feedback forum.
December 14, 20231 yr Feel free to post in the feedback forum as mentioned above, however it's very very unlikely we will change this in any way at the present time.
December 14, 20231 yr 13 hours ago, WebCMS said: 15 minutes is too high and not good for conversions/sign-ups. Not tested but you can change it in your install if you're self-hosted by editing the init.php file: $guestTimeout = 900;
December 14, 20231 yr You shouldn't be editing any files directly. It's controlled by the 'CACHE_PAGE_TIMEOUT' constant for self-hosted customers. Using constants.php: https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-constantsphp-r25/
December 14, 20231 yr 12 minutes ago, Stuart Silvester said: It's controlled by the 'CACHE_PAGE_TIMEOUT' constant for self-hosted customers. Using constants.php: https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-constantsphp-r25/ Oh, he is CiC; I didn't pay attention to that. Good to know it can be handled by a constant. 👍