We have a couple of popup and slide-ins on the website. Recently, our hosting provider shared that we are getting too many ajax requests. Upon investigating, we found that on every page load, there are multiple ajax requests only to check whether to display the module or not.
We have define( 'HUSTLE_STATIC_CACHE_ENABLED', true ); in the config file.
Is there a way that the display conditions will be checked while loading the page instead of multiple ajax requests on the page load? We get thousands of visitors every day and too many ajax requests adding overhead to the server.
Thanks,