Cache feature

Feed 11 posts, 5 voices

Jul 28, 2008 06:19
Avatar
37 posts

Hi all,

I'm new on Frog and I like the way that frog work.

I'm begin to use it on a small project and I think it would be nice to add a cache features (I read this post http://forum.madebyfrog.com/forum/topic/328 and it's a good start).

I think cache can be implemented on different level like: 1. Global page cache (serve a static cached html page); 2. Reduce sql queries: add cache on snippet (includeSnippet method, ...), layout, page organisation (children method, ...);

I'm ready to help you! Do you have dev or user mailing-list ? (I'm not a fan of forum or it would be nice to add RSS support ;)).

Oh, just a question, I see on the [http://code.google.com/p/madebyfrogs/wiki/Behavior wiki] that there are page behavior feature. What's a the cleaner way to add a behavior ? really need to put it on the frog/behaviors folder ? or can I use plugins folder ?

Thanks for your great job, see you,

Gilles.

 
Aug 4, 2008 05:14
Avatar
37 posts

I start to write a file cache plugin, I will release a first version soon.

I think it would be nice to have a place to host plugins and svn (on the madebyfrog googlecode project ?)

 
Aug 6, 2008 12:57
Avatar
275 posts

Can't wait to see your plugin gido. It'll really be a nice addon to Frog.

 
Sep 30, 2008 08:22
Avatar
37 posts

Hello everybody!

I released a beta version of a file cache plugin for frog.

Check it out here: cache plugin

It would be nice if some of you can test it.

 
Sep 30, 2008 08:58
Avatar
818 posts

Nice write-up, gido! I’ll hope to test it out later this week.

(P.s. Noticed on your site that you’re in a very nice location: hope you have a good view! ;)

 
Sep 30, 2008 09:09
Avatar
37 posts

Hi David,

The view is not bad ;-)
Your are welcome if you go by Lausanne, Switzerland.

 
Sep 30, 2008 12:25
Avatar
396 posts

@gido – perfect timing :-) I’m hoping to remove the frontend/backend split and this cache plugin might just alleviate any potentially introduced performance problems. Though it remains to be seen if performance will deteriorate.

 
Oct 5, 2008 18:45
Avatar
1 posts

Hey gido!

The download link for your cache plugin doesn’t work (404).

 
Oct 6, 2008 02:41
Avatar
37 posts

Ooops!
Sorry it’s corrected!

 
Oct 7, 2008 12:23
Avatar
818 posts

@gido – I’ve got this running on TestFrog now (which is also running 0.9.4). So far, so good — thanks for this (also, added to the plugins page)!

 
Oct 9, 2008 09:02
Avatar
396 posts

Hi david, gido..

Do you guys have any performance metrics available? I.e. what was the performance before and after using the plugin?

I’d be pretty interested to see that…

 
Oct 12, 2008 19:23
Avatar
396 posts

Guys, please read this