Support » Plugin: W3 Total Cache » Fragment caching and get_query_var()

  • Hello. This code is working fine for me:
    <!-- mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> echo current_time('timestamp'); --><!-- /mfunc -->

    This code is working when page is loaded first time only.
    <!-- mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> echo get_query_var('city'); --><!-- /mfunc -->
    After page reload get_query_var(‘city’) is empty.

    How can I fix it?

  • The topic ‘Fragment caching and get_query_var()’ is closed to new replies.