You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method to flatten an multi-dimensional array ComPagesDataObject::flatten() method, if defined the key of the array will be added to each object being flattened using the property name defined.
This release also refactors the http cache to use a custom file cache and no longer make use of the Joomla JCache API. This offers additional performance benefits as http cache objects are now also automatically stored in opcode cache.
This release also includes a change in the way data works. If a data file has the same name as the folder it's part of, the file will not result in an additional level in the data collection. If the file has a different name the key of the level will be the name of the file
Related PR's for documentation purposes
1. Improve page and data registry cache #43
The page and data registries are now cached in an optimised way. The actual content of the file is no longer being cached
2. Add attributes() template function #45
Function to build a string with xml style attributes from an array of key/value pairs
3. Add flatten() data object method #52
Method to flatten an multi-dimensional array ComPagesDataObject::flatten() method, if defined the key of the array will be added to each object being flattened using the property name defined.
4. Pages not being properly sorted by date #48
5. Fix warnings and notices #46
Additional improvements
This release also refactors the http cache to use a custom file cache and no longer make use of the Joomla JCache API. This offers additional performance benefits as http cache objects are now also automatically stored in opcode cache.
This release also includes a change in the way data works. If a data file has the same name as the folder it's part of, the file will not result in an additional level in the data collection. If the file has a different name the key of the level will be the name of the file
Additional configuration options
page_cache: JDEBUG ? false : true
page_cache_time: 606024 //1d
page_cache_path: /joomlatools-pages/cache
data_cache: JDEBUG ? false : true
data_cache_time: 606024, //1d
data_cache_path: /joomlatools-pages/cache
template_cache: JDEBUG ? false : true
template_cache_path: JPATH_ADMINISTRATOR.'/cache/koowa.templates'
http_cache: false
http_cache_time: 7200
http_cache_path: /joomlatools-pages/cache
The text was updated successfully, but these errors were encountered: