FHEM Forum

FHEM => Frontends => TabletUI => Thema gestartet von: speedAmaster am 20 Juni 2016, 12:56:30

Titel: Newbie: my changes are not displayed
Beitrag von: speedAmaster am 20 Juni 2016, 12:56:30
again an absolute Newbie question:
even I do changes to my www/table/xxxx.html files, they do not appear in my browser.... to test/debug.
I have no freaking idea where the stuff is cached or even why.....

Any idea?

I am using the example file settings:

   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="widget_base_width" content="74">
    <meta name="widget_base_height" content="71">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="longpoll" content="0"> <!-- 1=longpoll;0=shortpoll every 30sec -->
    <meta name="debug" content="1"> <!-- 1=output to console;0=not output -->
    <meta http-equiv="Cache-Control" content="no-store" />
Titel: Antw:Newbie: my changes are not displayed
Beitrag von: Suner am 20 Juni 2016, 18:26:05
can you post the code of the part which is not changed?
Can you maybe post youre html files here?
Do you use pagetab?

Regards
Titel: Antw:Newbie: my changes are not displayed
Beitrag von: setstate am 20 Juni 2016, 19:05:49
And did you follow this steps for installation?


Install

copy the whole tree into the corresponding folder of your FHEM server /<fhem-path>/www/tablet
add 'define TABLETUI HTTPSRV ftui/ ./www/tablet/ Tablet-UI' in fhem.cfg
rename the index-example.html to index.html or create your own index.html
Tadaaa! A new fhem ui in http://<fhem-url>:8083/fhem/ftui/
Titel: Antw:Newbie: my changes are not displayed
Beitrag von: speedAmaster am 24 Juni 2016, 23:51:06
@setstate: surely I did these steps..... I see the stuff, but in case I do some changes, I do not see the modifications via the URL http://.../ftui :-(
@Suner: I am using pagetab and started with the example ones. Even if I delete some tiles, they do not disappear.

maybe it has something to do with browser caching...... because if I load the changed page into another browser, they behave correctly. BUT if I do again changes, they do not apprear in the 2nd browser either.......
not my 1st html pages I do, but I do not have any idea what is ongoing here with fhem and tablet-UI!
Titel: Antw:Newbie: my changes are not displayed
Beitrag von: setstate am 25 Juni 2016, 07:15:27
it seems to be really a cache issue ... but there is not general easy remedy or solution
Please ask Google (or any prefered search angine)  how to force your browser to reload without cache.

e.g.
strg + F5
or
cmd + r
Titel: Antw:Newbie: my changes are not displayed
Beitrag von: speedAmaster am 26 Juni 2016, 21:21:28
surely I know the ctrl+F5 approach, still doesnt load - really looks like FHEM is handling the caching :-(

BIG   ????