Currently, every time a request is made to Ajapaik Web App, an JavaScript translations are being downloaded.
This naturally makes the site load slower and takes up more resources of the server.
Of course for this to work properly, the generated files would either make use of ETags or have some sort a hash in the name of the file.
This is how the browser is forced to fetch new content currently. ETags are used for images. Hash is used in static files (js,css,etc)
Currently, every time a request is made to Ajapaik Web App, an JavaScript translations are being downloaded. This naturally makes the site load slower and takes up more resources of the server.
It can be possible to generate static translation files which are only updated when needed, using https://github.com/zyegfryed/django-statici18n.
Of course for this to work properly, the generated files would either make use of ETags or have some sort a hash in the name of the file. This is how the browser is forced to fetch new content currently. ETags are used for images. Hash is used in static files (js,css,etc)