|
|
|
|
|
by econ
239 days ago
|
|
I believe the biggest performance hit lives in je inability to force reload a cached file with js (or even html(!)). Setting a header only works if you know exactly when you are going to update the file. Except from highly dynamic or sensitive things this is never correct. You can add ?v=2 to each and every instance of an url on your website. Then you update all pages which is preposterous and exactly what we didn't want. As a bonus ?v=1 is not erased which might also be just what you didn't want. I never want to reload something until I do. |
|
There are also other solutions if you need to preserve the url that are cleaner than appending a query string, like etags