petrapixel

petrapixel.neocities.org

2,073,960 views
1,517 followers
480 updates
0 tips
Oh my gosh, I am in love with your site!! The layout/aesthetics are amazing, probably the hands down cutest dark mode I've ever seen, and also your tutorials are fantastic!! I'm SO grateful you mentioned the GH Action for deploying to Neocities, I hadn't even thought to look for such a thing!
petrapixel's avatar petrapixel 6 months ago

thank you so much ! and i'm glad it helped :))

i am asking yet again whether anyone knows a better solution to the cache issue than the ol' ?nocache= trick. it just seems like there HAS to be a better way of making sure the newest version is loaded >.<
8 likes
shishka's avatar shishka 7 months ago

for css caching? i have been renaming my css file every time i update it 👽💧 whether or not this actually works is a mystery

1 like
petrapixel's avatar petrapixel 7 months ago

@shishka yeah that's essentially what i've been doing ^^;

1 like
kuroi's avatar kuroi 6 months ago

there's also adding the version (?v=123) in front of your css name and changing it everytime you update it like

1 like
kuroi's avatar kuroi 6 months ago

neocities doesnt let me post html text lol, i meant in your css tag, it would look like href="style.css?v=12345678"

1 like
petrapixel's avatar petrapixel 6 months ago

@kuroi yes that's what i mean with "?nocache= trick" !

2 likes
kuroi's avatar kuroi 6 months ago

oof right, i thought you meant the meta tag, the one that goes meta http-equiv="cache-control" content="no-cache", i've never tested this one but maybe that could work for you

2 likes
petrapixel's avatar petrapixel 6 months ago

@kuroi oh interesting, i will look into that, thanks!

2 likes
dabric's avatar dabric 6 months ago

i think you're already doing the best solution... even professional website frameworks will do something similar and automatically rename files to get around the cache

dabric's avatar dabric 6 months ago

also, meta http-equiv="cache-control" content="no-cache" isn't in HTML 5 anymore, so I would take care using it!

petrapixel's avatar petrapixel 6 months ago

@dabric yes i found that info too. damn. but i'm currently looking into using a service worker for cachebusting, i'll try it out and if it works i will make a tutorial :]

1 like
underwhite's avatar underwhite 6 months ago

if you don't wanna use the CSS cache and no queries, do a hard reload on your site (command/ctrl+shift+r on chrome, search for other browsers) removes all cache backup if the site is supposed to be changed but is not doing it because of cache backups

petrapixel's avatar petrapixel 6 months ago

@underwhite yes i know about that one! i'm looking for a solution that also fixes it for my visitors

1 like
petrapixel's avatar petrapixel 6 months ago

Just sent support an email about this bc using the .htaccess doesn't seem to be an option on Neocities -- Let's see if I'll hear back!

underwhite's avatar underwhite 6 months ago

@petrapixel you can encourage your visitors to do a hard reload on your index page if that's supposed to be changed

15 likes
petrapixel's avatar petrapixel 7 months ago

small changes, and a revamp of my "my setup" page (which became "my VSCode setup") - check it out for extension and theme recs.

4 likes
petrapixel's avatar petrapixel 7 months ago

also, voting for the indie web contest will close in 10 DAYS ! -> https://petrapixel.neocities.org/contest

5 likes
underwhite's avatar underwhite 6 months ago

AW FORK I GOT A WEEK TO SPARE

1 like
8 likes
petrapixel's avatar petrapixel 7 months ago

Check out the new poll in my sidebar :3 Other than that, just changes/improvements to beginner guides.

3 likes
petrapixel's avatar petrapixel 7 months ago

ALSO, If you're reading this and haven't voted in the Indie Web Contest yet, you should ! :D https://petrapixel.neocities.org/contest

2 likes
11 likes
petrapixel's avatar petrapixel 7 months ago

Layout Generator was updated! (You might have to hard refresh.) New look, new features (custom fonts, preview zoom), and other improvements and bugfixes. But it didn't change that much, even though it took me two whole days :')

7 likes
petrapixel's avatar petrapixel 7 months ago

Also updated some of the beginner coding guides (like cheatsheet, faq, bookmarks etc) because I will help my sister (who has never coded before) create a website this weekend !! YAY

6 likes
9 likes
petrapixel's avatar petrapixel 7 months ago

I now have a (work in progress) manifesto, and I moved the coding bookmarks to their own page (and expanded them). I've got lots of plans for next week !!

7 likes
petrapixel's avatar petrapixel 7 months ago

Also reminder to vote on the indie web contest ! https://petrapixel.neocities.org/contest We don't have as many votes as participants yet !

7 likes
polydactica's avatar polydactica 7 months ago

Your website is so kawaii uWu

1 like
petrapixel's avatar petrapixel 7 months ago

@polydactica ⸜(。˃ ᵕ ˂ )⸝♡ ‍ thank uu

The indie web contest i made in celebration of 300 (!) followers isn't even concluded yet and I just reached 500 (!!) followers. Thank you all so much, I appreciate every single one of you! Also, speaking of... If you haven't voted in the contest yet, do so now !! :D https://petrapixel.neocities.org/contest
14 likes
wow thank you for listing me!! i'll definitely grab that award >:3
2 likes
just voted! I gave myself a fair amount of points I think
1 like
underwhite's avatar underwhite 7 months ago

(I might take your template generator and change everything btw)

Website Stats

Last updated 2 hours ago
CreatedNov 9, 2021
Site Traffic Stats

Tags

personal resources programming coding tutorials