Funky Cache (beta testers wanted)
|
486 posts
|
awesome, tuupola. thanks for the great work! i will give it a try. |
|
486 posts
|
Just curious, what tools do you guys use for benchmarking? |
|
291 posts
|
I did my tests with ApacheBench. |
|
291 posts
|
I had forgotten some debug output into the code. So if you downloaded in last hour download again. |
|
291 posts
|
Just a quick FYI. I tested with Comments plugin and everything seems to work without problems. I tested with Captcha off (my laptop does not have GD compiled to PHP) and Autoapprove on. Currently there are no events in Frog code to notify when moderated comment is approved or comment is deleted. Because of this you have to manually clear cache after moderating comments. If you use autoapprove there is no problem. |
|
291 posts
|
I made some cosmetic improvements. Individual pages can also be deleted from cache by clicking trashcan. Download to test.
|
|
486 posts
|
very nice. thank you |
|
51 posts
|
Hi tuupola! Nice adaptation. I will have a look of your implementation. In fact, when I wrote the FileCache plugin I have in head the ability to cache part page or snippet. Gilles. |
|
291 posts
|
Sorry I had missed your reply. Partial caching is useful in some cases. Using my technique it is not possible though. Funky Caching means all or nothing. It would be great if you added partial caching into your plugin. |
|
291 posts
|
Latest version should now be compatible with Frog 0.9.5 from svn. |
|
76 posts
|
I’m currently using r367 version of Frog 0.9.5, and the latest Funky Cache download. When I activate the plugin, I don’t get a Cache tab in the backend. I pasted the URL admin/setting/activate_plugin/funky_cache into the browser and got:
I don’t know if this is a Frog issue or Funky Cache issue, or where I can start to find out. |
|
291 posts
|
I seem to get same PHP notices but plugin still enables itself (tab appears after reloading the page). |
|
76 posts
|
Ah okay, thanks.. I didn’t realise that happened on all plugins. Yes I have the plugin_settings table but it is empty. I tried it on another 0.9.5 setup I have and I’m getting the same problem (no Cache tab). Any other details I can provide to help solve it? |
|
291 posts
|
How is your Frog installed? Document root? Some other folder? I have two different r367 versions running (OSX and Solaris) and both work ok. One thing you could try is to download the plugin again. I actually uploaded the latest version twice because from first install package some changes were missing. So if you happened to download the first one (which was online only few minutes) you might have a broken version. |
|
76 posts
|
Ahh-HA! It’s in a subfolder, so line 31 of funk_cachy/index.php needs to reflect this. I now use this (using the global constant for admin folder, incase people change that too): |
|
291 posts
|
Ah yes. Forgot to fix the subfolder support. Will fix and roll out a new release soon. Thanks for the heads up! |
|
8 posts
|
Thanks tuupola for this awesome plugin! Works great now ;) And thanks to you, Craig, for your advise. Had exactly the same problem and it’s working fine now thanks to your code. Another thing that didn’t work out-of-the-box for me was one point in the htaccess file (using Frog 0.9.5 RC2).
to
(quite at the bottom of the suggested file) |
|
17 posts
|
Does Funky Cache work with the release version of Frog 0.9.5? I’ve tried to use it, but the settings won’t save, and when I try to turn on caching for a given page Frog unhelpfully tells me that the page has not been saved. Is it possible that there is a conflict with another plug-in? |
|
291 posts
|
I use it with 0.9.5 without any problems with MySQL. Do you happen to use SQLite? |
|
17 posts
|
No, the server I will be deploying to has PDO disabled, and thus no decent version of SQLite. Have you tested with emulated PDO? |
|
291 posts
|
No I haven’t. I personally feel it should be removed from Frog since it causes all kind of problems. Are you coder or designer type? If coder could you debug why it is failing? If designer then I can make some tests tomorrow with emulated PDO. |
|
17 posts
|
I can try and do some debugging, yes. My experience with Frog is nascent at best, but I’ve sufficient experience with PHP to give it a try, I think. Hmm! All of a sudden it works fine. Very strange… |
|
184 posts
|
Really handy plugin, but I can’t get this to work with any child pages … only with first level pages. Is anyone else having this problem? |
|
291 posts
|
How do you see it only works in child pages? From the “Cached Pages” view? Are you sure you have working mod_rewrite rules? Do the subpages have caching enabled (“Should cache” should be “yes”). |
|
184 posts
|
The mod_rewrite definately is working for parent pages … the pages cache fine in the cache directory and once cached, they display fine. Like with the cached parent pages, I have ensured that child pages are also set to cache, but they never do actually cache. I have tried this with various child pages … none of them will cache. It is possible that perhaps the mod_rewrite needs mofifying to allow child pages to cache, but if that is the case, I don’t know how to make the necessary htaccess changes. I just assumed that they would work, but it seems either I am the only person that has tried to use Funky cache with child pages, or I am the only person that can’t get them to cache. |
