Note: This will be obsolete in the future, because we want to use django-compressor!
PyLucid stores CSS/JS files in database. Cache files would be written to filesystem, so the webserver (e.g. Apache) can send the files to the client (for better overall performance).
The cache filesytem path would be build in this way: MEDIA_ROOT + CACHE_DIR
To change the path of the headfile cache filesystem path, do this e.g.:
Note: You can't set a absolute or relative path. You can only change the name!
If the python process can't create the cache files, PyLucid used a normal django view as fallback. But this is slow.
You must check, if the python process have write right to the cache path.
If cache works, run: "PyLucid admin menu" / "system" / "base check" and study the output ;)
If you can't setup the webserver and caching didn't work, you should disable the caching by set settings.PYLUCID.CACHE_DIR = "" But this is a less-than-ideal solution!
e.g. insert this into your local settings:
django-processinfo: 5.4 ms of 299.7 ms (1.8%)