Apache Server setup (not cordova) - mod-expires etc


#1

This may well be a foolish question - we are quite new to ionic2.

We have a webapp only (not android or iphone)
We’ve noticed that the content on our webapp site is very “sticky”.
We have a “plain” apache2 server serving the files.
Should we be configuring it in some way - I’m thinking “mod-expires” here?
Looking a text/html content - it has the date on which it was fetched, but no expiration date.

Or does ionic2 handle all caching? In which case is there a way to expire / flush the cache so that a new release becomes visible.

Best practice advice needed!

Thanks


#2

turns out this has nothing to do with Apache.

It’s important to set the settings for service worker to Net first and not Cache first