| ... | ... |
@@ -104,7 +104,9 @@ class MyServer(BaseHTTPRequestHandler): |
| 104 | 104 |
cacheFile = Path(cacheFilename) |
| 105 | 105 |
say("URL Hash: "+urlHashStr)
|
| 106 | 106 |
cachedAlready=cacheFile.is_file() |
| 107 |
- #cachedAlready=False |
|
| 107 |
+ if 0 == configuration.isCacheEnabled(): |
|
| 108 |
+ say("Cache Disabled")
|
|
| 109 |
+ cachedAlready=False |
|
| 108 | 110 |
if cachedAlready: |
| 109 | 111 |
# Import cached version |
| 110 | 112 |
say("Reading cache file: "+cacheFilename)
|