How to cache dynamic CSS (RCSS)?

Hi,

I’m using this tutorial:
http://blog.hasmanythrough.com/2006/3/23/dirt-simple-rcss-templates
to make dynamic CSS files. However I can’t figure out how expire
cached CSS files.

Here’s my code: http://pastie.caboo.se/181021. Most of it is copied
from the tutorial.

Files are cached properly - i.e.
<%= stylesheet_link_tag “main” %> generates “public/stylesheets/
main.css” file

but when trying to expire it - the following file is expired (from
logs):
Expired page: /admin/stylesheets/rcss?rcss=main.html (0.00007)

How to fix it? Thanks in advance

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs