Element Details: DataLayer.Cached
 Back


Available in: Logi Info Source code name: DataLayer.CachedIntroduced in: v10.0.205

A cached DataLayer allows data to be stored on the web server so that it doesn not need to be retrieved multiple times from the original data source. As long as the cache has not expired, each additional request for this data will use the cached data. When the cache has expired, the system creates an updated cache file.

Each cache is identified by the CacheKey attribute. Thus unique caches can be created based on the report name, @Request tokens, @Session token, session ID - any string. Caches are at the application scope so they are shared among all user sessions.

The data for the cached DataLayer comes from child DataLayer elements. Other child elements that are not DataLayers, such as CalculatedColumn and SortFilter, are not saved in the cache. These are processed after saving and retrieving cached data.

Each DataLayer.Cached must also include expiration information in at least one of the expiration attributes.

Cached data is stored in files in the rdDataCache folder.

Element Group:Info DataLayers



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
CacheKey
UserDefined
(Required) This is a unique identifier for the DataLayer cache. Once cached, any other requests with the same CacheKey value will use the same cached data. CacheKey has application scope, cached DataLayers may be shared among all user session. It may contain token values that vary the cache based on request variables or other values. Caches can be made user-specific by using "@Session.ID~. Developers can also identify caches with multiple tokens and strings separated by commas or another delimiter. For example: OrdersCache,@Session.ID~,@Request.someValue~
ExpirationNow
True
False
When "True" the cache expires immediately and a new cache is created. The default value is "False".
ExpirationTime
UserDefined
The time of day that the cache expires. Use the 24 hour format of hours and minutes to enter the time. Separate the hours and minutes with a colon. For example: 05:00 is 5am, 14:24 is 2:24pm.
ExpirationTimeSpan
UserDefined
Sets the number of hours and minutes a cache file will remain valid. If the file is older than this setting, the cache will be recreated. For example: 01:34 is one hour and 34 minutes. A cache created at 2pm will expire at 3:34pm.
ID
UserDefined
The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.



PARENT ELEMENTS

Click element to drill down for more information.

Analysis Chart
Analysis Grid
Animated Chart.Pie
Animated Chart.Scatter
Animated Chart.XY
Animated Extra Scatter Layer
Animated Gauge.Bar
Animated Gauge.Needle
Animated Gauge.Pyramid
Animated Map
Authentication
Auto Complete
Chart Canvas
Chart Grid
Chart.Gantt
Chart.Heatmap
Chart.Pie
Chart.Polar
Chart.Scatter
Chart.XY
Crosstab Table
Data Calendar
Data List
Data Menu
Data Multi-Column List
Data Table
Data Tree
Default Values
Email List
Extra Gantt Column
Extra Grid Layer
Extra Polar Layer
Extra Scatter Layer
Extract
Gauge.Angular
Gauge.Arc
Gauge.Balloon Bar
Gauge.Bar
Gauge.Bullet Bar
Gauge.Indicator
Gauge.Needle
Gauge.Number
If Data Error
Input Checkbox List
Input Combo List
Input Radio Buttons
Input Select List
Interactive Data View Applet
Join
Json Data
Local Data
Lookup
Map Markers
Map Polygons
Map Polylines
Marker Band
Marker Line
Pattern Block
PDF Form
Procedure.Data
Procedure.Run Datalayer Rows
Right From Role
Rights From DataLayer
Series.Area
Series.Area Range
Series.Area Spline
Series.Area Spline Range
Series.Bar
Series.Bar Range
Series.Box Plot
Series.Bubble
Series.Funnel
Series.Heatmap
Series.Line
Series.Pie
Series.Pyramid
Series.Scatter
Series.Spline
Series.Waterfall
Series.Whiskers
Sharing List
Sparkline.Area
Sparkline.Bar
Sparkline.Line
Sparkline.WinLoss
Text Cloud
User Roles
Word Form
Xml Data
XOLAP Cube
XslFo Data


CHILD ELEMENTS

Click element to drill down for more information.

Aggregate Column
Analysis Filter Insert
Calculated Column
Change Case
Color Range Column
Color Spectrum Column
Compare Columns
Compare Filter
Comparison Filter
Condition Filter
Contain Filter
Contains Filter
Convert Units
Crosstab Filter
Data Layer Link
Data Layer Plugin Call
DataLayer.Bookmarks
DataLayer.CSV
DataLayer.Definition List
DataLayer.Directory
DataLayer.Excel
DataLayer.Fixed Format File
DataLayer.Google App
DataLayer.Google Spreadsheet
DataLayer.JSON
DataLayer.KML File
DataLayer.LDAP
DataLayer.Linked
DataLayer.Mongo Find
DataLayer.Mongo Map Reduce
DataLayer.Mongo Run Command
DataLayer.Plugin
DataLayer.REST
DataLayer.Scheduler
DataLayer.SP
DataLayer.SQL
DataLayer.Static
DataLayer.Twitter
DataLayer.Web Feed
DataLayer.Web Scraper
DataLayer.Web Service
DataLayer.XML
DeDuplicate Filter
DeDuplication Filter
Difference Column
Ends With Filter
File Column
Forecast.Current Time Period
Forecast.Regression
Forecast.Time Series Decomp
Formatted Column
Geocode Columns
Group Filter
HierarchicalLookup.SP
HierarchicalLookup.SQL
HierarchicalLookup.WebService
If Data Error
Insert String
Join
Lookup
Lookup.SP
Lookup.SQL
Lookup.WebService
Moving Average Column
Pad String
Percent of Total Column
Predicted Column
Rank Column
RegEx Filter
Relevance Filter
Remove Columns
RenameColumns
Replace String
Replace Value
Reverse Geocode Columns
Running Total Column
Security Filter
Sequence Column
Sort Filter
Starts With Filter
Substring
Switch Column
Time Period Column
Trim String
UnCrosstab Filter
Unit Conversion Column
Unpivot
Validate Date
Validate Number
Validate RegEx
Validate String


 Back to top


 Chart Debug