Skip to content

Commit

Permalink
Trying to address caching issue
Browse files Browse the repository at this point in the history
  • Loading branch information
500Foods committed Mar 24, 2024
1 parent 8392869 commit 596c328
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Project1.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<link rel="stylesheet" href="github.css" >
<script src="$(ProjectName).js" type="text/javascript"></script>

<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>

<!-- Google's Cairo Font -->
<link href="https://fonts.googleapis.com" rel="preconnect"/>
<link crossorigin href="https://fonts.gstatic.com" rel="preconnect"/>
Expand Down
3 changes: 2 additions & 1 deletion Unit1.pas
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ procedure TForm1.UpdateChart;
page++;
}
// Filter out other repositories
for(var i = 0; i < repos.length; i++) {
if (!repos[i].full_name.startsWith(this.Param_Account)) {
repos.splice(i,1);
Expand Down Expand Up @@ -1327,7 +1328,7 @@ function processWebData(jsonData) {
}
// Fetch the data from the JSON file
const jsonUrl = 'https://www.500foods.com/visitordata.json';
const jsonUrl = 'https://www.500foods.com/Analytics/visitordata.json';
fetchWebData(jsonUrl)
.then(jsonData => {
const processedData = processWebData(jsonData);
Expand Down

0 comments on commit 596c328

Please sign in to comment.