Avoid fetching particles.json
each time the theme is switched
#86
Labels
Milestone
particles.json
each time the theme is switched
#86
The logic for updating the Particles config on the public facing pages needs to be fixed in
dark_mode_toggle.html
. The current logic fetches theparticles.json
everytime the theme is switched. This leads to unnecessary network calls and visible lag in the particles after many changes.The logic has to be updated to either updated the config without a config file (directly modifying the JS parameters) or fetching both files once and storing them locally for each switch.
The text was updated successfully, but these errors were encountered: