DEV Community

Discussion on: Loading Images with Web Workers

Collapse
 
makingthings profile image
James Grubb

Hello, thanks for the tutorial. I'm looking for ways to dynamically update the image URL in the document's head. Specifically, a meta tag using the OpenGraph protocol

      property="og:image"
      content="http://ia.media-imdb.com/images/rock.jpg" 
    /> //<-- us a cronjob to update the content property to serve a new image every day
Enter fullscreen mode Exit fullscreen mode

Is this something that a Web Worker could do?