Uyuni proxy Squid cache refresh/expiry #9964
ppanon2022
started this conversation in
General
Replies: 1 comment 7 replies
-
Files cached in the proxy should check for changes in the server side, and update the cache accordingly. The mod_wsgi is redirecting to squid, and if the data is not present it will fetch from the server. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IIRC, when squid caches a file, it normally does a sort of "metadata header" check on subsequent accesses and uses the last modify date to determine if the file has been modified and the cache entry needs to be refreshed, no? With the way the Uyuni Proxy uses the loopback to the mod_wsgi handler for fetching files from the master server, that doesn't seem to be happening.
In the bootstrap directory, we have some wrapper scripts around bootstrap scripts that do different things depending on the client running the bootstrap (i.e. deploying enterprise PKI keys or running different bootstrap scripts with different activation keys or proxy choices depending on the O/S version and location of the target system). When making updates to those scripts to support new O/S versions or new sites, the changes don't appear to be reflected in the script copies obtained from the squid cache of the Uyuni proxies, even after many hours.
Is this expected behaviour or a bug/oversight in the mod_wsgi handler implementation? What is the default cache expiry time before the updates are usable from the proxies?
Beta Was this translation helpful? Give feedback.
All reactions