tracker issue : CF-4203412

select a category, or use search below
(searches all categories and all time range)
Title:

CacheSetProperties/CacheRegionNew function descriptions

| View in Tracker

Status/Resolution/Reason: Open//

Reporter/Name(from Bugbase): James Mohler / ()

Created: 10/26/2018

Components: Documentation, General

Versions: 13.0

Failure Type: Unspecified

Found In Build/Fixed In Build: Issue in documenation /

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Windows 10 64 bit

Vote Count: 0

CacheSetProperties

Problem Description: propsStruct structure is really poor described.

They look like they are almost in alphabetical order but not quite.

diskstore is described as "The disk store" That tells me nothing

timetoidoleconds is probably spelled wrong

overflowtodisk does not specify its default.

memoryevictionpolicy the way that it is worded, is that is suggest that LRU and LFU are amoungst the options. Are there others? What is the default

objecttype ? What is that ? Are there any examples of this setting? What is the default.

Also really bad, CacheRegionNew has a properties parameter. But no where does it say that I have to go somewhere else to know what it is.

Then in example, it is using some very old CFML. There is no need to use ALL CAPS for the struct keys

Line 15 uses # where it is not needed

Overall it just looks like a sloppy example

See: 
https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-c-d/CacheSetProperties.html

https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-c-d/CacheRegionNew.html

Attachments:

Comments: