Commit 7101592
authored
Fix: only try to load a cache file from disk if the file exists (#84)
This could happen if the first time a page was loaded, was done
by someone who was logged in. This does update LAST_TIME_RENDERED
for browser if-modified-since caching, but does not write the
file to disk. If a non-logged-in user visit the page after, the
page is not on disk.1 parent 99a63de commit 7101592
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments