PLAY 1-1 [HTML] not refreshing HTML page

This transition from FLASH templates to HTML is taking a while.

We have a www HTML page we play out (not a template), but when stopping the layer updating the HTML and then playing the [HTML] again the old one is shown.
Only a restart of the server (2.2.2) works.

I already added the meta data:

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>

But that ain’t working. Is there a way to force it?

1 Like

Applying no-cache headers within the server doesn’t help either.
If you use a custom client you could add a ?random_string to the end of the file so CEF never retrieves it from cache. But that’s a workaround.

I think Caspar should never cache any page at all.

I think Caspar should never cache any page at all.

I agree, till then random string it is!

Have you tried to clear the layer before reloading the page?

Yes, the random behind the url works. But now having problems with images in the HTML that are cached. adding a random to the image like: scr=“image.jpg?236478” does not work, it says image not found.

Is there a way to restart the HTML producer while the server is running?

If you are using local templates please use CG instead of PLAY [HTML].
Think this might work in 2.3 - if you have any other HTML running it would probably not clear the cache.

CG 1-10 REMOVE 0

We were running external HTML (php) because of a mysql connection we use. We solved it by restarting the server in the night.