jshuaf / Aquaforces

The land of the free
0 stars 0 forks source link

Add suffix to static files #105

Open ssneilss opened 8 years ago

ssneilss commented 8 years ago

Right now the server/ http cache are disabled because for example if it cache main.js, users will see the exact same thing (til the cache time up) even after we update the server.

Some suffix need be added to the file to make them identifiable for server (e.g. main.977b7bdf18dd080430f0.js, c76cb6aa10cceea2cc1ace24d3d08854.png)

Gladly webpack makes it rather easy to config