Roberto P. Well-Known Member Licensed User Longtime User Feb 24, 2015 #1 how can I set the cache in websocket? Thanks
Erel B4X founder Staff member Licensed User Longtime User Feb 24, 2015 #2 There is no cache. Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User Feb 24, 2015 #3 ok, is not available even with AddHandler? In altrenativa, there is compression of files? Thank You Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 25, 2015 #4 What exactly are you trying to implement? Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User Feb 25, 2015 #5 I'm implementing a web app with B4J and I see by the browser that the files are not stored in the cache. So, I thought to use file compression to optimize performance. I hope to be clear Upvote 0
I'm implementing a web app with B4J and I see by the browser that the files are not stored in the cache. So, I thought to use file compression to optimize performance. I hope to be clear
Erel B4X founder Staff member Licensed User Longtime User Feb 25, 2015 #6 Files are not served by the WebSocket handler. They are served with an internal handler. You can set the cache control with the code posted here: https://www.b4x.com/android/forum/threads/jserver-v2-05.41401/ Upvote 0
Files are not served by the WebSocket handler. They are served with an internal handler. You can set the cache control with the code posted here: https://www.b4x.com/android/forum/threads/jserver-v2-05.41401/
Roberto P. Well-Known Member Licensed User Longtime User Feb 25, 2015 #7 great, it's just what I need thank you Upvote 0