Log message #4017820

# At Username Text
# Apr 19th 2017, 13:31 hmic redis is a quite good cache for heavier things, i'd personally not use it for routes
# Apr 19th 2017, 13:30 inoas like https://github.com/makallio85/yaml-route but in redis
# Apr 19th 2017, 13:30 inoas redis would be not a simple cache but more like the router-storage
# Apr 19th 2017, 13:30 inoas and then build-cache-on-write
# Apr 19th 2017, 13:29 inoas I am considering: hit cache first, if not found, hit cake-stack?
# Apr 19th 2017, 13:29 hmic you can of course warm your cache up however you like...
# Apr 19th 2017, 13:29 inoas well but then it times out
# Apr 19th 2017, 13:29 inoas well "slow" in relative terms
# Apr 19th 2017, 13:29 hmic yes
# Apr 19th 2017, 13:29 inoas hmic so first hit = slow?
# Apr 19th 2017, 13:29 nemmons our routes don't change that much so we don't have to worry about re-writing the cache. i think we refresh it like every 6 hours and also have an admin controller action to refresh manually if necessary
# Apr 19th 2017, 13:29 inoas are you using cakephp's RedisEngine?
# Apr 19th 2017, 13:29 hmic ionas: populate the cache when a route gets requested
# Apr 19th 2017, 13:27 inoas if a route isn't found, do you build it live/hot? queued?
# Apr 19th 2017, 13:27 inoas nemmons do you write the cache on edit?
# Apr 19th 2017, 13:27 inoas else I have to do database queries for every on-page object
# Apr 19th 2017, 13:27 nemmons ionas we use redis to cache routes loaded from the database
# Apr 19th 2017, 13:26 inoas I am thinking, JSON, XML, YAML, Redis
# Apr 19th 2017, 13:26 inoas how do you cache things?
# Apr 19th 2017, 13:26 inoas Anyone doing routes through the database?
# Apr 19th 2017, 13:25 keremcankaya Cakephp 2.9.6 mongodb extension installed. Problem:Using mongodb extension(new driver) causes localhost didn’t send any data ,ERR_EMPTY_RESPONSE. I am able to use this driver on a cli php script with same php.ini loaded. How should i debug this problem?
# Apr 19th 2017, 13:24 Junior will do that, thanks!
# Apr 19th 2017, 13:22 inoas and you can isolate things like that
# Apr 19th 2017, 13:22 inoas but more likely it is a configuration or app bug
# Apr 19th 2017, 13:22 inoas IF it is a bug in footprint, you will find it more likely then
# Apr 19th 2017, 13:21 inoas as I said, I'd stop wasting time, git checkout -b 'footprint-integration' :p
# Apr 19th 2017, 13:20 Junior https://pastebin.com/Ua9cAWcE
# Apr 19th 2017, 13:14 Junior i do not have data here althougt in the trait the user is set
# Apr 19th 2017, 13:14 Junior );
# Apr 19th 2017, 13:14 Junior current(Hash::extract((array)$options, $this->config('propertiesMap.' . $field)))
# Apr 19th 2017, 13:14 Junior $field,
# Apr 19th 2017, 13:14 Junior inoas, looking inside FootprintBehaviour on the beforeSave method we have $entity->set(
# Apr 19th 2017, 13:11 crazycoder ok
# Apr 19th 2017, 13:11 inoas maybe in __construct() you can switch $_hidden around ;)
# Apr 19th 2017, 13:11 inoas which you can read from $this->_properties :p
# Apr 19th 2017, 13:10 inoas then you should have a key and value in your entity named like that
# Apr 19th 2017, 13:10 inoas what I meant is select(['__hide_for_json__' => '__hide_for_json__'])
# Apr 19th 2017, 13:08 crazycoder but _joinData still here
# Apr 19th 2017, 13:07 crazycoder i used .name
# Apr 19th 2017, 13:07 crazycoder select() ? nah
# Apr 19th 2017, 13:07 inoas then you can switch $hidden based on that