[Plugin: WP Super Cache] execute footer.php from caching???
-
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
-
See the readme.txt, there’s a lot of info there on keeping sections of your page dynamic.
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 CacheWell … 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 partInternet Explorer 8:
Couldn’t load the whole pageWell … 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.
Well … I just want to insert 2 includes:
© <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.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
- The topic ‘[Plugin: WP Super Cache] execute footer.php from caching???’ is closed to new replies.