Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math random #526

Open
chreesp opened this issue Apr 1, 2020 · 0 comments
Open

Math random #526

chreesp opened this issue Apr 1, 2020 · 0 comments

Comments

@chreesp
Copy link

chreesp commented Apr 1, 2020

Hello,

I have a use case where upon compiling a random generated number would be awesome.
Use case is to bypass browser's asset caching.

It would be awesome if I could replace this

background: url(../path/to/image.png?12345);

with something like this:

background: url(../path/to/image.png?random(5));

In this scenario I wouldn't have to worry if I've uploaded files to production server without manually changing version number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant