CoreLibs
CoreLibs copied to clipboard
Improve content script performance by using browser cache properly
Issue Details
Currently, CoreLibs only partially uses cache as it ignores If-Modified-Since in the request headers.
Proposed solution
Here's what we should do:
- Send
Last Modifiedheader in the response that is equal to the time when the filtering engine was built or changed last time. - Check
If-Modified-Sincein the requests and depending on its value return HTTP response with status304instead of trying to select cosmetic rules extra time.
Alternative solution
No response