Control browser cache for website

Hello,

Since a couple of days I host a simple html website on my box.
I created the website with Publii.

Now and than I add new anouncements to the web page, but users have te refresh the webpage every time before they can see the changes.

Is there a way to control the cache of the browser server side?

Thanks, Jos

Nginx is just serving up the static files, so this is a question about site development, probably something in your CSS. This isn’t the type of topic that gets responses here. You may want to search through the StackExchange network where someone has likely already answered this question in Webmasters or StackOverflow (if you are not familiar with StackExchange, be sure to read carefully should you decide to post anything).

I found this post and this seems to work.

1 Like