CACHE Disable Issue!

75 views
Skip to first unread message

xeondxb

unread,
Mar 11, 2014, 2:08:50 AM3/11/14
to col...@googlegroups.com

Hi,

In development environment  im facing cache issue, I don’t know how to disable cache .I can not see changes in output.
I changed the query but still same records are coming.
how to solve this issue??

Thanks
Amir

Aaron

unread,
Mar 11, 2014, 10:39:00 AM3/11/14
to col...@googlegroups.com
turn off "Trusted Cache" in cfadmin.

Xeondxb

unread,
Mar 11, 2014, 2:43:57 PM3/11/14
to col...@googlegroups.com

Hi Aaron,

 

I did even I tried to after unchecking all cache, but still cache page is coming even remove everything from template results are coming.

 

Then I restart my cold fusion application server service then I saw changes

 

Thanks

Amir

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/rcQTrE8V3YM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aaron

unread,
Mar 11, 2014, 2:46:19 PM3/11/14
to col...@googlegroups.com
set all your settings to dev-friendly.

Xeondxb

unread,
Mar 11, 2014, 2:47:27 PM3/11/14
to col...@googlegroups.com

How can I do that can you please guide me ….

 

Thanks

Aaron

unread,
Mar 11, 2014, 2:52:08 PM3/11/14
to col...@googlegroups.com
http://wiki.coldbox.org/wiki/ConfigurationCFC.cfm

any setting that deals with caching, set to false.


On Tuesday, March 11, 2014 12:43:57 PM UTC-6, xeondxb wrote:

xeondxb

unread,
Mar 12, 2014, 2:22:12 AM3/12/14
to col...@googlegroups.com

Guys Please help me im beginner in coldbox this cache issue really frustrating.

 

Thanks

 

 

 

Coldfusion Administration

 

 

 

 

 

Coldbox.cfc

 

function development(){

       coldbox.debugPassword = "";

       coldbox.debugMode = true;

       coldbox.reinitPassword = "";

       coldbox.handlerCaching = false;

       coldbox.handlersIndexAutoReload = true;

       coldbox.eventCaching = false;

}

 

Cachbox.cfc

 

defaultCache = {

                           objectDefaultTimeout = 0.1, // 120, <-- Default two hours default

                           objectDefaultLastAccessTimeout = 30, //30 minutes idle time

                           useLastAccessTimeouts = true,

                           reapFrequency = 2,

                           freeMemoryPercentageThreshold = 0,

                           evictionPolicy = "LRU",

                           evictCount = 1,

                           maxObjects = 300,

                           objectStore = "ConcurrentStore", //guaranteed objects

                           coldboxEnabled = true

                     },

                    

                     // Register all the custom named caches you like here

                     caches = {

                           // Named cache for all coldbox event and view template caching

                           template = {

                                  provider = "coldbox.system.cache.providers.CacheBoxColdBoxProvider",

                                  properties = {

                                         objectDefaultTimeout = 0.1, // 120, <-- Default

                                         objectDefaultLastAccessTimeout = 30,

                                         useLastAccessTimeouts = true,

                                         reapFrequency = 2,

                                         freeMemoryPercentageThreshold = 0,

                                         evictionPolicy = "LRU",

                                         evictCount = 2,

                                         maxObjects = 300,

                                         objectStore = "ConcurrentSoftReferenceStore" //memory sensitive

xeondxb

unread,
Mar 12, 2014, 2:28:08 AM3/12/14
to col...@googlegroups.com
Please find Cold Fusion Administration Screen Shoot

CFADMIN.jpg

Andrew Scott

unread,
Mar 12, 2014, 3:44:45 AM3/12/14
to col...@googlegroups.com
Just so you get it right.

It is ColdFusion and not Cold Fusion. Secondly I answered you in another post.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/



On Wed, Mar 12, 2014 at 5:28 PM, xeondxb <xeo...@gmail.com> wrote:
Please find Cold Fusion Administration Screen Shoot

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.

Xeondxb

unread,
Mar 12, 2014, 5:39:21 AM3/12/14
to col...@googlegroups.com

Thanks Andrew to correcting me, it was typo.

Regarding caching issue, is there any way or  easy solution to fix this?? Because as I told you im beginner. So it really hard to find what code I should use and where.  Right now my goal is first build hello world application. But I can’t do anything because of caching issue.

 

Regards

Amir

 

 

 

From: col...@googlegroups.com [mailto:col...@googlegroups.com] On Behalf Of Andrew Scott


Sent: Wednesday, March 12, 2014 11:45 AM
To: col...@googlegroups.com

You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/rcQTrE8V3YM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+u...@googlegroups.com.

Jeremy R DeYoung

unread,
Mar 12, 2014, 9:30:22 AM3/12/14
to ColdBox Platform
Amir,

If you're free, I'd be happy to Google Hangout/Screen Share and see if we can resolve this. Just let me know when you're free. I'm located in Franklin, TN, USA (CDT).

Sana Ullah

unread,
Mar 12, 2014, 9:36:02 AM3/12/14
to col...@googlegroups.com
Hi Amir,

If you are stuck on caching issue, Please let us know, we will help you over skype or whatever you may like.

Problem could be in 
1: config/Coldbox.cfc
2: cfquery  cache-attributes
3: CF-admin cache settings

Thanks
Sana

Andrew Scott

unread,
Mar 12, 2014, 3:41:36 PM3/12/14
to col...@googlegroups.com
When ColdBox runs, it is initialized into the Application Scope, that means parts of the Application is cached in the Application Scope. Caching by default is not switched on for ColdBox, so lets remove that from the equation first.

The two settings you have, plus the Modules Reload is all that is needed to stop the caching into the Application Scope.

If you find that the things are still being cached, you can always do one of 3 things.

1) Restart ColdFusion (use as last resort)
2) Change Application Name
3) Reinit the framework.


If doing any of these still gives you problems then you have a serious issue.




Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/



Xeondxb

unread,
Mar 12, 2014, 4:15:42 PM3/12/14
to col...@googlegroups.com

Hi sana,

 

Thank you very much Sana!

 

Really im stuck, because im still on starting level and these things discouraging  me to continue.

 

My skype ID “clickamir”

Thanks  Again…..

Sana Ullah

unread,
Mar 12, 2014, 6:42:03 PM3/12/14
to col...@googlegroups.com
Hi Amir,

I found many "clickamir" skype ids, so not sure which one I should add. 
Please add my id email "sanau...@gmail.com"

Thanks
Sana

Xeondxb

unread,
Mar 13, 2014, 12:56:27 AM3/13/14
to col...@googlegroups.com

Hangout OR Google ID “only  amir  007” please remove spaces

Thanks

Amir

Reply all
Reply to author
Forward
0 new messages