Sorry I mean: memcache_footer.php <?php if($_SERVER['REQUEST_METHOD'] == "GET") { $mc_data = ob_get_contents(); ob_end_flush(); $rtv = $mc->set("wordpress:" . $_SERVER['REQUEST_URI'], $mc_data, FALSE, $memcache_timeout); $mc->close(); } ?>by DanBUK - How to...
Hi there, I have just been tinkering with this and so far I have the following working: Request comes in, GET on memcache, if that fails then it try fcgi php. Then I have php code in some pages to set the appropriate key. Now that works apart from the content type being incorrect on CSS/JS/etc because I haven't forced them to try the file direct yet. (tips anyone?) server { lby DanBUK - How to...
![]() |
![]() |
![]() |
![]() |
|