devgianlu / PYX-Reloaded

A fork of the original Pretend You're Xyzzy, with a completely rewritten frontend and some major changes on the backend
Apache License 2.0
26 stars 13 forks source link

Cache handling for new releases #63

Closed devgianlu closed 6 years ago

devgianlu commented 6 years ago

When a new version is released all caches must be cleared. I don't really know how to do that yet.

EpicnessTwo commented 6 years ago

An option would be to use a build number as a variable for the query string of things that need to be re-cached. E.G. cached_file.js?v=0.0.2

devgianlu commented 6 years ago

@EpicnessTwo Nice idea.

devgianlu commented 6 years ago

cache handling

Strategy used in the server.

devgianlu commented 6 years ago

If think this is the best possible solution for our server that needs the cache to be invalidated immediately. All users' cache will be invalidated after a server restart.