How to cache dynamic CSS (RCSS)?


I’m using this tutorial:
to make dynamic CSS files. However I can’t figure out how expire
cached CSS files.

Here’s my code: 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
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