1602 / 1602/compound

How are js files merged?

Open
#621 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.6k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

I'm making a small change to one js file. In development mode everything is fine. However, when I push it to the server, even if a file is changed, the merged files are still getting the same name.

So even after a file is changed there production server is still serving:

```

```

So people have to clear their cache to get the new update, which is hard to explain...

In `production.coffee` I have:

```
app.enable 'merge javascripts'
```

Is there a way to less aggressively cache? Or a way to make it change the file name on every push?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.