core icon indicating copy to clipboard operation
core copied to clipboard

Time machine: generated CSS is not exported

Open jorith88 opened this issue 11 years ago • 3 comments

When I use /DOTLESS/... or /DOTSASS/... to generate CSS from SASS/LESS files, the generated CSS is not exported by the Time machine.

This means that it's not possible to export the generated HTML to an Apache webserver when using the built in SASS/LESS support.

jorith88 avatar Jul 30 '15 10:07 jorith88

We had the same issue with our minifier plugin. What we ended up doing was instead of using a servlet to put the minified data in the cache actually store the generated minified files in the dotCMS virtual file system so they would be included in a time machine export. That works pretty well but does have the downside of having generated files in the dotCMS file view and having old versions there that are never removed. That's why we also added a cron job to clear the generated files every day and have dotCMS generate new ones once a day at first request.

koenpeters avatar Jul 30 '15 10:07 koenpeters

Ok I tested in 3.2.4 and i am able to reproduce, the problem is we are using the servlet every time we call the dotless.... if you go the time machine static files we don't have the generated css file....

bryanboza avatar Aug 10 '15 16:08 bryanboza

This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.

stale[bot] avatar Sep 30 '19 04:09 stale[bot]