HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
439 stars 77 forks source link

Stylesheet files cached too long in Chrome #42

Closed HeinrichApfelmus closed 11 years ago

HeinrichApfelmus commented 11 years ago

It appears that Chrome caches stylesheet files regardless of whether the server would return a newer one. This messes up the display when trying different examples (For example first Chat.hs, then BarTab.hs) or when developing an application.

I don't know how to fix this right now, but it probably involves setting sone sort of "no-cache" header in the HTTP response. This should be done not only for style files, but for all other files (JS, loadFile) as well. We assume that the server runs on localhost anyway.