-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
How could I cache the messages.js? #51
Comments
You can use any caching system like the one provided by Play: https://www.playframework.com/documentation/2.7.x/ScalaCache Where precisely do you want to cache? On the server’s memory? On the client’s browser cache? |
Thank you for your quick reply. |
Then you would have to use the Cache-Control or ETag headers, in your response. |
Oh I got it. Thanks. 👍 |
Every time Loading a page, a browser gets always a new messages.js. I think It is wasting packets.
The text was updated successfully, but these errors were encountered: