WebCMS Posted December 14, 2023 Share Posted December 14, 2023 (edited) 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, 2023 by WebCMS Link to comment Share on other sites More sharing options...
Jim M Posted December 14, 2023 Share Posted December 14, 2023 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. Link to comment Share on other sites More sharing options...
WebCMS Posted December 14, 2023 Author Share Posted December 14, 2023 How much is the cache lifetime for guest users? For how many minutes are the pages cached? Link to comment Share on other sites More sharing options...
Randy Calvert Posted December 14, 2023 Share Posted December 14, 2023 900 seconds...AKA 15 minutes. 🙂 WebCMS 1 Link to comment Share on other sites More sharing options...
WebCMS Posted December 14, 2023 Author Share Posted December 14, 2023 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. David N. 1 Link to comment Share on other sites More sharing options...
Randy Calvert Posted December 14, 2023 Share Posted December 14, 2023 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. Link to comment Share on other sites More sharing options...
Marc Posted December 14, 2023 Share Posted December 14, 2023 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. Link to comment Share on other sites More sharing options...
Adriano Faria Posted December 14, 2023 Share Posted December 14, 2023 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; Link to comment Share on other sites More sharing options...
Stuart Silvester Posted December 14, 2023 Share Posted December 14, 2023 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/ SoloInter 1 Link to comment Share on other sites More sharing options...
Adriano Faria Posted December 14, 2023 Share Posted December 14, 2023 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. 👍 WebCMS 1 Link to comment Share on other sites More sharing options...
Recommended Posts