I have an embedded custom code element in my nav symbols element, this parent element is fixed to the top of every page. The embedded code is intended to reference the last published time. However, the JS code currently reflects the time which the website was last loaded/refreshed.
How can I change this to reflect the time of last published from Webflow? Is this possible?
Using the last last-modified header as a source is not the best idea. I don’t know how WF infrastructure is set up, I couldn’t even find the header on the initial raw document, only on assets like js and css files. I don’t know how the cashing is set up and WF renders your site server-side.
You’d be better off hardcoding it in your site or using the html comment that is on every WF site: