Neocities.org

KFCMan's Odd Corner of the Internet

kunfucutsman.neocities.org

3,322 views
12 followers
588 updates
0 tips
kunfucutsman 1 month ago

Changing some things in the home and about me sections, be sure to reload your css!

No more "oops all your website got updated"
That footer has been the vain of my existence. And now it has been dealt with.
And the versioning thing I used to prevent caching still affects every page since its on the head of the html -.-"
kunfucutsman 1 month ago

But the solution i did with Hugo may be the one I need. Instead of building a js file with the vars, I build a txt file with the update date and have javascript read it and update the footer date. The http request that gets said file is the one with the cache-busting

kunfucutsman 1 month ago

After about 10 commits of testing I made a solution: USE Hugo's resource generation to make a file called vars.js which contains the last time this was updated, then force the script tag to download the js file and then other function handles the updating of the footer

kunfucutsman 1 month ago

Problem now is that the time.Now function uses the time on the virtual machine which seems to be two hours ahead of me.

kunfucutsman 1 month ago

It should be fine as long as I don't update my site too late and someone decides to watch my website in that 3 hour period

kunfucutsman 1 month ago

At least it solved the github action having to update everything, so that's good :)

I have just realized that the thing that makes the github action to update everything is the footer's "last updated on X date" -.-"
I just encountered you from the null webring, so I'll check out the story you have over here
Well I have favicons now.

Website Stats

Last updated 10 minutes ago
CreatedJul 24, 2024
Site Traffic Stats

Tags

christianity megaman programming videogames personal