I was wondering if there is a feature or setting that will prevent the browser from saving a cache of a webpage so that it is required to load from the server each time it is opened?
@Russ, What is your reason for it?..
Welcome @Russ, there are server configurations to do that, Sparkle doesn’t have it built-in yet because the different web servers aren’t all configured in the same way.
If your web host uses an Apache web server, one of the most popular, the configuration is straightforward.
What you do is use the file manager of your web host to create a file in the top level of the website, named
.htaccess, and add this content:
This is a boilerplate of a couple different things, including configuring transfer compression, it essentially makes html files expire immediately, so the visitor will always reload html, but it makes all other files types expire after one year. This works well specifically with how Sparkle produces files, always regenerating the css when publishing.
Great thanks Duncan. I will try this.