Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.5.0 #53

Closed
johanjanssens opened this issue Jan 15, 2019 · 0 comments
Closed

Release 0.5.0 #53

johanjanssens opened this issue Jan 15, 2019 · 0 comments
Assignees
Milestone

Comments

@johanjanssens
Copy link
Member

johanjanssens commented Jan 15, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant