I'm using the CakePHP Plugin AssetCompress (v 0.7) which works fine, except that it doesn't cache any files in the directory. This is my asset_compress.ini setup:
[General]
writeCache = true
cacheConfig = false
alwaysEnableController = true
debug = false
[js]
timestamp = true
paths[] = WEBROOT/js/
cachePath = WEBROOT/cache_js/
[speedtest.min.js]
files[] = speedtest/speedtest.js
Additional notes:
- I set debug to "0" in core.php
- the cache_js folder is writeable (777)
- also I'm using MemCache as a caching engine (not sure if this might cause the issue)
Has anybody experienced the same issue with the Asset Compress plugin?
Update: This is what I use for the CSS/Less part, works pretty well: https://github.com/Hyra/less
$ cake asset_compress.asset_compress build
– Ethnomusicology"Dynamic build files will only work through the controller while debug > 0. Before deploying you should run the shell to generate static assets."
Christian Strang according to that, I would say I'm pretty sure. You can confirm by opening a ticket on github or going on IRC and asking markstory yourself. The reason you cant without shell:"When debug = 0, the plugin ignores request to generate assets. This is a security feature to prevent malicious users from using expensive resource processing as a way to cause a DOS attack. You can use the Shell to generate build files at any time."
– Tolerance