Invalidate cache whenever the user uses the site

Our site is growing and we ship new features almost daily. The problem we’re facing now is that most of our users (with Safari and sometimes Chrome/Firefox) had troubles viewing the latest changes we shipped, and thus encountered some compatibility errors. Apart from telling the users to clear their browsers’ cache repeatedly, is there anyway to automatically invalidate the cache from Wix’s end?

We know that in a proprietary setup, we can have versioned CSS and JavaScript files, or setting up an nginx to automatically route these files to their latest hashed version. Is it possible to do the same way with Wix, given that we don’t have access to the backend server?

In another a-bit-related-note, is it possible to minify the JS files? It could save heaps of space.

Thanks a lot in advance :smiley:

2 Likes

What is it that is being cached?

@Andreas: The JS components with some front-end logics that we shipped.

@WIX this is of the utmost importance. Isn’t there anything to address the issue???

@yisrael-wix do you know how to workaround this issue?

@luan-nguyen did you find answer for that? We are having same issue with our website.