There are a few issues with this. First, browsers already cache CSS pages, so there's no guarantee that they'd notice the updated stylesheet. Second, Sass only updates the stylesheet whenever the template has been updated, which is what allows it to be so fast, but also means that modifying the image would probably go unnoticed for a while.
So this probably isn't feasible. Sorry. - Nathan Tomislav Filipčić wrote: > In rails when using the image_tag and stylesheet helpers a asset > timestamp number is appended to the URL (image.jpg?543563463). This > helps with caching the assets, you just set them to expire in x years, > and when the file changes the timestamp also changes and the users > will request the new file. > > Could sass do this with images in CSS too? > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
