Answer the question
In order to leave comments, you need to log in
Is this approach to creating a browser game possible?
I came across this post on the pikabu https://pikabu.ru/story/zhizn_bol__otvet_cherez_2_...
And I wondered if it was possible to make some kind of launcher for the game, which can be downloaded once with all sorts of textures, the world, etc. and upload these files from the computer to the browser, so as not to load the page for half a day if there are some 3d models?
THAT is in theory such a development option is possible?
Answer the question
In order to leave comments, you need to log in
The browser has a cache
The backend has techniques for working with the cache
Add another layer in the form of a separate cache - no
PS: Try not to go to places where someone leaves their waste products
Maybe. Take, for example, electron and go ... But before that, you need to check that everything rests on the network. Set caching headers. Check that the resources are given in a compressed form. Pack small icons into sprites. Check that all files are optimized with optipng etc. instruments. Move static to a separate domain (or even several) without cookies.
I remember there was some kind of browser-based step-by-step strategy in which you could download all the pictures, and in the settings specify where they are on your hard drive, like c:\игра\картинки
, and the server fed these addresses to the browser instead of its own. But modern browsers do not allow this, it seems.
In theory, there are different options.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question