You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: