Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Clearing cached cfm/cfc pages

Explorer ,
Jul 16, 2008 Jul 16, 2008
I have a slightly annoying problem I haven't been able to figure out the cause. I'm using Flex and Coldfusion for the backend and I use dreamweaver to write my CF code. It seems my requests to the CF server are cached somewhere, does anyone know where and how I can clear them?
Often when I make changes to my CF code, I have to resort to silly measures to force the webserver/CF server to call the updated cfm/cfc.

Can someone help this poor obtuse CF user!, thanks!!
Carlos
715
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 17, 2008 Jul 17, 2008
What actually is being cached? Is it a query? part of a user interface?

Do you have your code in any type of framework? If so, are the setting adjusted to always refresh the code when you load the page?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 17, 2008 Jul 17, 2008
Firstly thank you for replying!!

yes most of the time it's queries as this is what I'm currently using CF the most for, to retrieve DB Queries. But also other things, for example yesterday I was playing around with creating static HTML pages from CFM pages and to evaluate the results I was getting I was returning to Flex the the contents of 'cfhttp.FileContent' but then when I changed the 'cfreturn' to return the value of 'ExpandPath' I kept getting the values of cfhttp.FileContent' unitl I purposely throw an error in CF in the call to the CF function.

I'm not using any development framworks like Fusebox.

I'm using appliation and session variables.

A while back I did try a few approaches I found by Googling, but I foget the details, but it was by putting some sort of command in the applicaion.cfm file.

Once again thanks for thaking the time!!
Carlos
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 17, 2008 Jul 17, 2008
I had a similar problem in an app recently but while using AJAX - I found that Firefox worked perfectly but IE cached the result and would not reproduce the same content twice in a session so I stuck a timestamp on the end of the HTTP Request so that it was different page being called everytime - hope this helps.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 17, 2008 Jul 17, 2008
Thanks for the input, but am using 'Remoting' to communicate between Flex and CF. I'm also using Firefox and I repeatedly clear the browser's cache but that doesn't solve the problem.

As a side note I don't know if it's because my development machine is XP 64 bit (silly *@!&%$$* OS) what can I say... I wanted lots of memory, I can't even restart the CF Server hhhhrrrrrr.....

But my caching (?) issue also happens on my XP notebook, so it can't be because I'm using XP 64 bit.

Carlos
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 19, 2008 Jul 19, 2008
LATEST
I had this sort of problem before.... do you have multiple sites sharing the same IP address?

this was the issue / solution

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18258

there is also a couple Cache settings in CFAdministrator which im sure you know about already...

Hope this helps,

R
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources