Community Forums 

Main Content

Re:Browser caching issues

    Sep 19 2017 21:33:50

    #1

    Gil Sery

    Join date : 2010-04-27      Posts : 141

    Thanks, GT. I tried that, but it didn't do anything.

    Here's the <head> tag from my page:

    ?><!DOCTYPE html>
    <html class="<?php echo esc_attr($html_class); ?>" <?php language_attributes(); ?> xmlns="http://www.w3.org/1999/xhtml">;
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="-1">
    <?php if (wp_is_mobile()): ?>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
    <?php else: ?>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php endif; ?>
    <link rel="profile" href="http://gmpg.org/xfn/11">;
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    <?php wp_head(); ?>
    </head>

    Is there something wrong that I missed or messed up?

    When I make a change, that change isn't immediately reflected upon visiting the site a second (or subsequent) time. The visitor has to hit Refresh in order to see the new change reflected in the page. The problem is that my visitors don't know that they need to do that, so they keep ordering at the old prices.