Okay
  Public Ticket #2634256
Need to clear cache more often
Closed

Comments

  • Ayushi Shrivastava started the conversation

    We've noticed that we have to clear the cache more often than in the past to get events to show up, and that it often take more than 30 seconds to get events to load on a calendar page. Is there anything we can do to improve performance on these pieces?

  •  894
    Zhivko replied

    Hi,

    Are only the new events not showing or no events at all?


    Stachethemes Developer

  • Ayushi Shrivastava replied

    No events show up. Then we manually clear the cache in the WP dashboard and all the events show up again. But obviously this method won't work for an end user who doesn't have access to the dashboard. 

  •  894
    Zhivko replied

    Try following:

    Open your theme/child-theme functions.php file and add this filter:

    add_filter('stec_admin_ajax_public_verify_nonce', function(){
       return 'false'; 
    });

    Then clear your cache one last time and check if the problem persists.


    Stachethemes Developer