• is it possible to execute the footer.php from the template-directory from caching every time?

    The reason: I’m using a link script in the footer.php, which rotates links every time a page is reloaded.

    So is there a secure way to execute a template-file from caching every time?

    Greetings from Essen, Ruhr, Germany from

    Tobias

    http://wordpress.org/extend/plugins/wp-super-cache/

Viewing 6 replies - 1 through 6 (of 6 total)
  • See the readme.txt, there’s a lot of info there on keeping sections of your page dynamic.

    Thread Starter TobiasHeuken

    (@tobiasheuken)

    Hi

    well … I read te txt-file and I follow the steps in this file

    – marking dynamical part with

    <!–mfunc function_name( ‘parameter’, ‘another_parameter’ ) –>
    ** CODE **
    <!–/mfunc–>

    – setting the SuperCache-Modus in HalfMode
    – Clear the Cache

    Well … for the 1st and 2nd reload it’s working, but when I came back 5 or 10 minutes later, I’ll get the message:

    Google Chrome 5:
    This website is not available.

    The web page at http://www.domain.xyz/ might be temporarily unavailable or has been permanently moved to a new web address.

    Firefox 3.6.3:
    The Web page you want to open, can not be displayed, because it uses an invalid or unknown form of compression.

    Opera 10.53:
    Will load the page, but without the dynamical part

    Internet Explorer 8:
    Couldn’t load the whole page

    Well … what’s wrong?

    Greetings from Essen, Ruhr, Germany from

    Tobias

    Did you replace “function_name” with the function name? Also, it will only allow usage of basic PHP functions, not WP ones unless you set the “late init” variable in the config file.

    The caching engine is normally loaded long before WordPress.

    Thread Starter TobiasHeuken

    (@tobiasheuken)

    Well … I just want to insert 2 includes:

    &copy; <script language="php">echo date(Y); echo " by "; include 'http://files.heuken-webservice.com/footer/links_copyright/linkrotator.php';</script> 
    
    Linktipp: <script language="php"> include 'http://files.heuken-webservice.com/footer/links_kunden/linkrotator.php';</script>

    That’s all … these 2 includes shouldn’t be cached. Wenn you open these includes, you’ll get still a rotating <a href="....">bla</a> code as output.

    Thread Starter TobiasHeuken

    (@tobiasheuken)

    Well … is there any solution to include these script’s without caching?

    Yes, you use the mfunc and mclude commands properly. Unfortunately I don’t have time to explain it again as it’s documented in the readme.txt

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Super Cache] execute footer.php from caching???’ is closed to new replies.