http://blog.1SmartSolution.com/1SmartSolution Blog1SmartSolution BlogPresenting Smart Caching"Smart Caching" is my try to make the caching process a little bit more inteligent and i've made it on the example of 1ssBlog. It allow the entries to be cached and de-cached automatically based on how often they are viewed.
How it work:
We set the period of time (1 day, 1 hour or 1 minute) and the number of unique views that should happen in that period of time in order the entry to get cached automatically.
So, if we set the period to 1 hour and the number of views to 30, then a
http://blog.1SmartSolution.com//index.cfm?action=posts.entry&id=144&Presenting-Smart-Caching
Wed, 07 May 2008 16:24:00 -0400"Smart Caching" is my try to make the caching process a little bit more inteligent and i've made it on the example of 1ssBlog. It allow the entries to be cached and de-cached automatically bKnowing 1ssBlog better: TriggersThe Triggers here are a way to have some pods re-cached automatically when an event happen. Right now it can be done for 2 events:
Add/Delete/Approve Comment
Delete entry or entry become live
 
Have a nice weekend everyone!
 
http://blog.1SmartSolution.com//index.cfm?action=posts.entry&id=131&Knowing-1ssBlog-better-Triggers
Fri, 21 Mar 2008 19:31:00 -0400The Triggers here are a way to have some pods re-cached automatically when an event happen. Right now it can be done for 2 events:
Add/Delete/Approve Comment
Delete entry or entry become lKnowing 1ssBlog better: Cache Refreshing OptionsAt this moment there are 6 different options for cache refresh in 1ssBlog:
Refresh App Cache - will refresh the entire application. Pretty much it would be like if it would be the first run after ColdFusion restart.
Refresh Posts Cache - this will refresh only the posts. So, when you add a new entry, this would be the choice.
Refresh Pods Cache - will refresh only the pods. For example it would be helpfull when a new pod is added or some settings of current pods are changed.
http://blog.1SmartSolution.com//index.cfm?action=posts.entry&id=130&Knowing-1ssBlog-better-Cache-Refreshing-Options
Thu, 20 Mar 2008 17:47:00 -0400At this moment there are 6 different options for cache refresh in 1ssBlog:
Refresh App Cache - will refresh the entire application. Pretty much it would be like if it would be the first run aftKnowing 1ssBlog better: Caching MechanismsOne of the things i like in 1ssBlog is the option to use pretty much any caching mechanism you want. Because this was one of the main ideas behind the whole thing, it was done from the start. So, what you will have to do in order to use a new caching mechanism with you 1ssBlog instance, is to make sure it have the following methods:
cacheInit - will initialize your caching mechanism.
cacheSetElement - will set an elemnt to the given value.
cacheGetElement - will return the value
http://blog.1SmartSolution.com//index.cfm?action=posts.entry&id=126&Knowing-1ssBlog-better-Caching-Mechanisms
Fri, 14 Mar 2008 21:40:00 -0400One of the things i like in 1ssBlog is the option to use pretty much any caching mechanism you want. Because this was one of the main ideas behind the whole thing, it was done from the start. So, whatFollowup on caching in ColdFusion with memcachedAfter Jon Hirschi yesterday's post on caching in ColdFusion with memcached, i searched for a windows version of memcached server and i did find it.
So, if anyone interested, you can get it here
http://blog.1SmartSolution.com//index.cfm?action=posts.entry&id=105&Caching-in-ColdFusion-with-memcached
Tue, 18 Dec 2007 11:04:00 -0400After Jon Hirschi yesterday's post on caching in ColdFusion with memcached, i searched for a windows version of memcached server and i did find it.
So, if anyone interested, you can get it here
Jon Hirschi on caching with memcachedJon Hirschi have done an awesome job on external caching for coldfusion with memcached.
http://blog.1SmartSolution.com//index.cfm?action=posts.entry&id=104&Jon-Hirschi-on-caching-with-memcached
Tue, 18 Dec 2007 01:49:00 -0400Jon Hirschi have done an awesome job on external caching for coldfusion with memcached.Followup: BogCFC caching mechanismOk. Seems like i've got it working.
First i tried this
in Application.cfm and it helped. BUT as result the pages were loading over 2 seconds each time. and of course it was not acceptable
So, i went from Rob Wilkerson's idea of substituting a part of the cached version of the entire page with the needed part. But the problem is that theoretically it's not known what exactly and with what exactly should be changed (because of the dynamic nature of what should be changed and/or because
http://blog.1SmartSolution.com//index.cfm?action=posts.entry&id=91&Followup-BogCFC-caching-mechanism
Sun, 07 Oct 2007 22:52:00 -0400Ok. Seems like i've got it working.
First i tried this
in Application.cfm and it helped. BUT as result the pages were loading over 2 seconds each time. and of course it was not acceptable
SNeed help with BlogCFC caching mechanismI've added today a new pod that would show download counts for my open source projects and of course it should not be cached, so that the numbers to be real time. I've tried hard to find a way to do it in BlogCFC but i just can't figure it out.
I've tried to delete from this new pod the
code. No luck.
I've tried to add
to index.cfm but it was even worse. It removed the pod at all.
Maybe it's that i am slow Sunday at almost 2am (or should i say Monday) but i just can't figu
http://blog.1SmartSolution.com//index.cfm?action=posts.entry&id=89&Need-help-with-BlogCFC-caching-mechanism
Mon, 01 Oct 2007 01:27:00 -0400I've added today a new pod that would show download counts for my open source projects and of course it should not be cached, so that the numbers to be real time. I've tried hard to find a way to do i