Whether the nginx static resource cache is etag or set expires

some configurations of nginx have been optimized recently

found that nginx will enable etag function by default, aiming at static files

so is it still useful to set it in server?
` location ~. . (js | css)?. $

    {
        root /home/app/static;
        expires 12h;
    }
    ```
 
 

I try to comment out the configuration of cached static resources in server above

access the static js file of the server, which is still in a state of 304, with etag

attached. Please explain it clearly.

Dec.26,2021

check the http cache. You have the answer

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40ad8-4dbce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40ad8-4dbce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?