caching - Django compressor with compass precompiled always regenerate cache files -
Why does Django compressor not use cache files? In my environment, every time I load a page, new cache files are rebuilt. Even if the sass files are not changed.
My Conf:
STATICFILES_FINDERS = ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib Staticfiles.finders.AppDirectoriesFinder', 'compressor.finders .compressorFinder ',) # COMPRESS_ENABLED = False COMPRESS_ROOT = os.path.realpath (os.path.join (ROOT_DIR,' static ')) COMPRESS_OFFLINE = True COMPRESS_PRECOMPILERS = ((' Text / Scss ',' sass --scss - Compass {infile} {outfile} '),) COMPRESS_CSS_FILTERS = [' compressor.filters.css_default.CssAbsoluteFilter ',' compressor.filters.cssmin.CSSMinFilter ',]
Comments
Post a Comment