Deleting it after every play session is more likely to hurt your performance than help. It's typically something done for specific troubleshooting rather than ongoing maintenance.
Sometime ago, someone did a lot of testing on this file : https://alithlegion.com/index.php/forum/General-Help/63582-guide-tweaking-eso-performance-graphics-stutter
To summarize, there is a cap (around 20+ Mb) that make performance a lot worse when the file is larger than this cap.
Using ultra shadows increase a LOT this file.
Read the article, it's full of tips to keep high FPS in most situations.
Shaders are small programs that are compiled by your GPU. They aren't precompiled by ZOS because they have to match your hardware and settings. They are saved in a cache so your GPU doesn't have to constantly compile them before they are executed.
As already mentioned, deleting the shader cache will likely make performance worse, namely in the form of longer load times, and stuttering during or a delay in assets loading while the material shaders are compiled.
Program compilation can be a pretty complicated process, and shader compilation is no different, often being fairly slow, especially due to the nature of how shaders are loaded, compiled and attached to a shader program within the rendering pipeline (see below).
This is why graphics drivers often provide a shader cache for applications, so that compilation only needs to happen once, provided the cache is valid (an update may overwrite a shader's source code, which invalidates the cache, forcing the graphics driver to rebuild the entire cache -- this is why it often takes a while to load into a character immediately after a major update happens to ESO, the shader cache is being rebuilt).Shaders are small programs that are compiled by your GPU. They aren't precompiled by ZOS because they have to match your hardware and settings. They are saved in a cache so your GPU doesn't have to constantly compile them before they are executed.
Shaders are actually not compiled by the GPU, rather by the graphics driver for your GPU. A GPU would make a terrible compiler for any language, just due to how GPU hardware works, and so the CPU often compiles shaders on-the-fly as a shader program is built and linked (a shader program is basically a collection of shaders that are treated as a single object, making it way easier to manage many shader programs), using calls to functions provided by the used API (DirectX, OpenGL, Vulkan, Metal, etc).
clocksstoppe wrote: »Deleting the shader cache doesn't make any sense, it takes a lot of time to compile shaders, that's why they get put in a cache. Deleting it will only make fps worse.