-
Notifications
You must be signed in to change notification settings - Fork 25
Feature: Cache dictionaries
Josh Soref edited this page Jan 25, 2023
·
8 revisions
There is some cost to dictionaries, so it might be worth caching them (especially with .dic
+.aff
).
I think I'll change dictionaries to go to a specific directory and use @actions/cache to track the directory.
The dictionary retrieval code can choose to skip retrieving any file(s) it already has.
Each dictionary's ETAG and url should be stored.
If the url is different, invalidate. Use the ETAG to retrieve (or not) the content.