Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): James Mohler / ()
Created: 10/26/2018
Components: Documentation, Documentation, General
Versions: 2018
Failure Type: Engineering Work Item
Found In Build/Fixed In Build: Issue in documenation / docs
Priority/Frequency: Normal / Some 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: