Questions tagged [cfcache]

cfcache, an Adobe ColdFusion tag, is used to improve page rendering performance by storing a copy of a page on the server and/or client computer.

cfcache is an Adobe tag, basically used to improve the page rendering performance. If this tag is used, a copy of a page is temporarily stored on the server and/or client computer to boost the performance. To do this, the tag creates temporary files that contain the static returned from a ColdFusion page.

This tag can be used in the cases where it is not necessary to get dynamic content on every access of a particular page. This tag can be used for both simple s and for s that contain parameters.

The output of a cached page is stored in a file on the client browser and/or the ColdFusion server. Instead of regenerating and downloading the output of the page each time it is requested, ColdFusion uses the cached output. ColdFusion regenerates and downloads the page only when the cache is flushed through pre-supplied timespan attribute, or by invoking cfcache action=flush.

10 questions
4
votes
1 answer

Cache already exists error with CFCACHE

I've recently used CFCACHE to implement page caching on a cold fusion 9 server. However I'm getting errors reported under load (running an automated link checker) like: "Cache A95C0BF9E9BFBC6F151F03E939D2D2D6TEMPLATE already exists" I had thought…
Mark
  • 3,459
  • 1
  • 18
  • 23
3
votes
1 answer

CachePut skipping required fields

I want to use CachePut(). In particular, I want to CachePut(id = _attr.path, value = attr.qryPath, region = variables.cacheRegion); id, value, and region are the 1st, 2nd, and 5th parameters respectively. Adobe says the 3rd through last…
3
votes
1 answer

Coldfusion cfcache clientcache flush

I've created a web application with this script surrounding common cfqueries and my navbar code. On the signout page, I was using to clear session…
Big Mike
  • 119
  • 10
2
votes
1 answer

Is it possible to parse contents of ColdFusion 9.0.1 cached memory?

I've been blind sided by the change from CF8 to 9 where write to disk caching is no longer possible without creating a custom cache or some other drastic workarounds that are not worth the effort. At this time I've abandoned trying to convert the…
Sn3akyP3t3
  • 656
  • 4
  • 10
  • 23
2
votes
2 answers

Railo; Indicate whether a cached query has been refreshed

Initial situation: Inside a function I'm caching a query using the cachedWithin attribute. Right below that cfquery tag I'm caching derived&related data into a struct stored in the SERVER scope. Problem: I want to re-populate that struct if the…
mz_01
  • 495
  • 3
  • 13
2
votes
1 answer

How to check if the cache is exists using coldFusion 8?

In the coldFusion 10 contains CacheIdExists(),it used to find the structure exists in cache but I need to check If the structure exists in cache, Using ColdFusion 8
Venkatesh
  • 75
  • 4
1
vote
2 answers

Flushing individual cached page fragments

Im not sure if this is possible.. I am dynamically generating table rows, and want to cache each row as a page fragement.. such as ..some stuff.. …
Jason
  • 1,957
  • 2
  • 20
  • 34
0
votes
1 answer

showing cached page on error with cfcache

I am curious if there is a way to do this, basically I have a set of API calls that are cached with the dependson flag. Now this generally works as a way to expire cache for the client when they make an update, I basically use this as a cache key,…
proxim0
  • 1,418
  • 2
  • 11
  • 14
0
votes
1 answer

Caching a stored procedure in ColdFusion

I'm trying to cache a stored procedure. I have ColdFusion 10 downloaded and it is running on a Railo 4 server. I have the database connection setup in my Railo Admin ( a default cache ) and according to the Adobe docs I only need to use the…
F Z
  • 21
  • 5
-1
votes
1 answer

Railo is caching my cfc's and templates

I'm currently developing a cfc in railo. Every time I make a change to the cfc, I have to go into the admin and clear all four caches in order for me to see any changes. Under Settings > Performance/Caching, Inspect Templates is set to always. Under…
Kevin B
  • 94,570
  • 16
  • 163
  • 180