Re: 404 requests filling view cache

2015-10-28 Thread lowpass
@euromark This affects caching? The issue is that the bad requests are nonetheless being saved to the cache views dir. @ojtibi Sorry, should have included that. core.php: Configure::write('Cache.disable', false); Configure::write('Cache.check', true); $engine = 'File'; if (extension_loaded('apc

Re: 404 requests filling view cache

2015-10-28 Thread euromark
Yes, in 2.4+ there is a skipLog param: http://book.cakephp.org/2.0/en/appendices/2-4-migration-guide.html#errorhandler But I just log them to a different log file via custom handler: See https://github.com/dereuromark/cakephp-tools/wiki/Included-fixes-and-migration-tweaks#bugfixes--useful-adjustm

Re: 404 requests filling view cache

2015-10-27 Thread OJ Tibi - @ojtibi
How does your cache configuration look like? On Wednesday, October 28, 2015 at 8:34:43 AM UTC+8, cricket wrote: > > Cake 2.2.4 (Yeah, i know -- need to upgrade this site!) > > I just noticed that the view cache dir has a bunch of files along the > lines of: > > > s_2fabc_2fabc_2fabc_2f_24_7b_40pr

404 requests filling view cache

2015-10-27 Thread lowpass
Cake 2.2.4 (Yeah, i know -- need to upgrade this site!) I just noticed that the view cache dir has a bunch of files along the lines of: s_2fabc_2fabc_2fabc_2f_24_7b_40print_28md5_28base64_decode_28mzywd2vic2nhbg_29_29_29_7d_2f.php Looks like the work of script kiddies. However, I'm also seeing t