Monday, June 3, 2024
55
rated 0 times [  60] [ 5]  / answers: 1 / hits: 19560  / 9 Years ago, thu, july 23, 2015, 12:00:00

I'm developing Samsung smart SDK app.
When executing the app its shows previous version content.
(my app is running on browser and its keep displaying previous changes that i have done to the app,not the current one)
After restarting the TV its shows the latest update.



This is my header.



<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN   http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html xmlns=http://www.w3.org/1999/xhtml>
<head>
<meta http-equiv=Content-Type content=text/html; charset=utf-8 />
<meta name=viewport content=width=device-width; initial-scale=1.0; maximum-scale=1.0;user-scalable=no>


I did some changes to my Samsung TV App and it is working fine in my browser.
But when comparing the defects they have mentioned (from Samsung) are not in my updated version and those are from previous submitted version.
I think this should be a cache.
I need to ignore this and load fresh one I updated.


More From » samsung-smart-tv

 Answers
11

In addition to the answers above you can:




  1. Reboot TV

  2. Add ?v= to the script tag for css & javascript files and change the version after every change. This process can be automated through the make system.

  3. Add no-cache headers to HTTP server, e.g. nginx:



    location ~ .*(gif|jpg|jpeg|png|ico|css|swf|js|html|htm)$ { expires 0; }


[#65719] Monday, July 20, 2015, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
julissaimana

Total Points: 593
Total Questions: 108
Total Answers: 112

Location: American Samoa
Member since Fri, Aug 26, 2022
2 Years ago
julissaimana questions
Thu, Jun 11, 20, 00:00, 4 Years ago
Wed, May 20, 20, 00:00, 4 Years ago
Thu, Mar 26, 20, 00:00, 4 Years ago
;