I have 2 styles, one for day mode and one for dark mode. When I change the mode I have a cache problem. It resets itself to zero because of a css style that the page is dynamiccally loading.
Apparently Cloudflare resets the cache when the mode changes and thus the element created in the DOM.
What is the solution to this problem?