LukaszHorodecki, to fediverse Polish
@LukaszHorodecki@pol.social avatar

Wygląda na to, że wtyczka ActivityPub dla WordPress działa z WP Super Cache bez kombinacji.

#ActivityPub #WordPress #cache #WPSuperCache

janriemer, to Redis

Open Source will always win!

https://github.com/valkey-io/valkey

"A new project to resume development on the formerly open-source Redis project. We're calling it , since it's a twist on the key-value datastore."

minioctt, (edited ) to webdev Italian

Sono praticamente 36 ore che non posto e lo so che siete in astinenza, ma avevo https://octospacc.altervista.org/2024/03/26/pwtorturaaaa/ di risolvere quel #problema con le #PWA una volta per tutte. E ora, nonostante un’altra frazione di sanità mentale sottrattami dagli spiritelli del silicio, dolori perché sto seduta per ore alla scrivania e tutta storta, e sonno perché ieri sera ho perso un sacco di tempo a debuggare un errore stupidissimo rimanendo sveglia fino alle 2 per poi arrendermi perché stavo veramente morendo, quantomeno ce l’ho fatta… 🤯️

Cercando con estrema #disperazione ieri mattina, mi accorgo di una cosa documentata alla bene e meglio, trovando prima una menzione su MDN ad un permesso webRequestFilterResponse.serviceWorkerScript, che servirebbe a regola per permettere alle #estensioni di intercettare i caricamenti dei Service Worker, e poi un thread bugzilla (#1636629) che pare abbia portato proprio all’introduzione di questa separazione di permessi. Ho scaricato il #codice dimostrativo per il bug, l’ho un attimo sistemato per tenere conto di questa misura di sicurezza poi introdotta e, certo abbastanza, il coso riusciva a fare quello che io volevo dall’inizio, senza ricorrere a bruttissime e fragilissime #hack (che a questo punto io nemmeno divulgo visto che non ho dovuto implementarle, per non sporcarmi la reputazione come developer, che già è molto bassa visto che prediligo il #webdev). 🔮️

A questo punto era quasi solo questione di rifiniture, un po’ creare il popup per le impostazioni della mia #estensione (che però mi ha richiesto diverse ore di design e implementazione fatti in contemporanea, perché volevo farle bene, non buttarci dentro bottoni a cazzo per il gusto di), e un po’ capire come #programmare il worker che gestisce #cache e richieste di rete #offline. Solo che qui ho sclerato perché… inizialmente con il codice preso da Chrome for Developers non andava, e pensavo fosse un problema mio, ma invece sembra proprio colpa loro, le loro demo non vanno proprio in #Firefox (ma non ho testato nemmeno in Chromium)… quindi ho provato quello offerto da MDN, ma anche qui nada, solo che ormai stavo crollando e quindi vado a mimir… stamattina vedo meglio e quest’ultima implementazione in effetti scopro che funziona, ma a me non andava perché, nel modo in cui iniettavo il #ServiceWorker trasformandolo da oggetto a stringa, una variabile che referenziavo non era accessibile nel contesto di esecuzione effettivo dello script, e quindi l’accesso alla cache falliva, ma io non me ne sono accorta subito perché già gli strumenti di #debugging del #browser sono mezzi scassati per questi casi speciali, ma io poi avevo pure un try-catch di mezzo che quindi sopprimeva gli errori alzati dall’interprete… la #pazzia. 😫️ 😩️

C’è un #casino di mezzo con la pubblicazione di #addon per #Mozilla, quindi praticamente ora il mio è in revisione, ma se tutto va bene dovrebbe prossimamente apparire sulla pagina https://addons.mozilla.org/en-US/firefox/addon/offline-caching/; in ogni caso, chi volesse usarlo da subito (come me sul telefono in primis) può scaricare da qui il file firmato da installare a mano. Edit: un’oretta dopo, l’estensione è approvata! 💖️

https://octospacc.altervista.org/wp-content/uploads/2024/03/img_20240328_1323201462313101815308817-960x1280.jpgBtw, mi serviva un’icona per l’add-on, perché tenere quella generica mi da fastidio (così come per quando creo app Android), e quindi ecco qui, letteralmente #OfflineCaching scritto a manina con uno stile un po’ buffo. Graphic design is my passion, ma non è roba mia, non son proprio capace. Penso comunque sia meglio di niente, quindi l’ho usata… (quella in basso sul foglio, che è stata la seconda; ho fatto prima quella in alto, ma poi non mi è piaciuta) 😬️https://octospacc.altervista.org/2024/03/28/pwgoduriaaaa/

#addon #browser #cache #casino #codice #debugging #disperazione #estensione #estensioni #Firefox #hack #Mozilla #offline #OfflineCaching #pazzia #problema #programmare #PWA #ServiceWorker #webdev

nhoizey, to random French
@nhoizey@mamot.fr avatar
nhoizey, to random French
@nhoizey@mamot.fr avatar
janriemer, to random
ebinger, to random German
@ebinger@bildung.social avatar

Die Datenbank unserer Instanz bildung.social wächst und wächst ...
Frage an alle s: Wie groß ist eure Datenbank?
Bei uns sind es bei 1,1 K aktiven Nutzer:innen (2899 Accounts) derzeit 61,1 GB (laut Dashboard in den Einstellungen).
Kann man etwas tun, um die Datenbank klein zu halten außer alte Posts zu löschen?
@fries @favstarmafia

@leuchtturm @milan @ordnung @hausmeister

Felipe_B,
@Felipe_B@mastodon.social avatar
minioctt, to webdev Italian

Ah si, nel tentativo di velocizzare leggermente il #sito (che in media non è lento, ma in alcuni particolari momenti si, cosa che non è grave ma mi farebbe piacere risolvere), ho trovato questo #plugin mirabolante: WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance (alla faccia… 🙄️)

La funzione per deferire il caricamento degli script sembra funzionare, mentre invece la stessa cosa per i fogli di stile sembra proprio di no… e addirittura l’opzione per minificare JS/CSS e/o raggruppare in un singolo file i tanti di quel tipo va a creare dei file più grossi, non mi è ben chiaro come (soprattutto quando solo il raggruppamento è attivo). E poi, la funzione per #minificare l’HTML è utilizzabile solo attivando il componente di caching del plugin… che non sarebbe un problema, se solo non avesse effetti collaterali del tipo di congelare i feed RSS, come ho constatato prima. Peccato, perché ridurre e cachare proprio le pagine #HTML avrebbe fatto una bella differenza in positivo. 😑️

Ce ne sono altri di plugin #WordPress per minificare l’HTML, magari vedrò se uno di quello funziona senza brutti effetti o no. #Altervista a dire il vero offre un servizio di #cache per WP che funziona decentemente, peccato che va in conflitto con il plugin ActivityPub (cosa che forse non sbaglierei a segnalare sul forum di supporto, sia mai che l’aggiustano per me e tutti i potenziali utenti), e per questo dovetti disattivarlo, e ora necessito in piccola parte di alternative. 🥱️

https://octospacc.altervista.org/2023/12/19/667/

#AlterVista #cache #HTML #minificare #plugin #sito #WordPress

amadeus, to mastodon
@amadeus@mstdn.social avatar

Lately, I often see people in my home feed that I do not follow. I have to follow and unfollow them to remove them from my feed. 🤔 #mastodon

stahlbrandt,

@amadeus I had it happening to me yesterday: A toot from an account (from another server) I do not follow showed up in my stream. None of its hashtags followed. Noticed a person I do follow had replied to a post on the thread further below the toot. For now I assume the following: A person I follow retoots/boosts a post, then remove the boost. The post stays published/cached and is seen by me, confusing me. #mastodon #cache #refresh #client #mastodon_client #tooot

lispi314, to random
@lispi314@mastodon.top avatar

In case the #SquidProxy security audit (https://mastodon.sdf.org/@ParadeGrotesque/111218095926190827 https://megamansec.github.io/Squid-Security-Audit/) has you a bit stressed, remember that #nginx does support acting as a caching reverse-proxy, so depending on your use-case that could be a viable replacement.

#cache #ReverseProxy

eliashaeussler, to php German
@eliashaeussler@phpc.social avatar

This is a friendly reminder to disable #TYPO3's #l10n #cache during (local) development. 😇 Happy Friday!

technotramp, to ipfs
@technotramp@mastodon.social avatar

#Friends and #comrades,

although I hate to, I have redirected the #domain #technotramp.com for those who don't use #IPFS to "https://bafybeiewkxwysf4jlnhbxs7pd4junvkrrais76qm3qgkpn3en4b2lcqxwm.ipfs.dweb.link/index.htm". I apologize that you will be #reloading #data from IPFS into the #cache. But it will #work #fine in the end if #you #want ;-) A... #Thanks indeed for letting me be with you in the #land of #music.

Don't forget...: "xwm".

👆

https://technotramp.com

Now look below. 🖐️😉

👇

schizanon, to AWS
@schizanon@mas.to avatar

Why does have a when you can also put it behind ?

eliashaeussler, to php German
@eliashaeussler@phpc.social avatar

📝 EXT:warming v1.1.0 is now able to log requests to a custom table.

ℹ️ By default, only failed requests are logged and 's default file writer is used.

📙 Read more about how to configure in the documentation → https://docs.typo3.org/p/eliashaeussler/typo3-warming/1.1/en-us/Configuration/Logging.html

schenklklopfer, to random German
@schenklklopfer@chaos.social avatar

🤡

Obwohl mir eigentlich zum Heulen zumute ist...

schenklklopfer,
@schenklklopfer@chaos.social avatar

Was soll der Mist?
Warum tu ich nix dagegen?

Der andere Stack wird von einem Team-Leiter entwickelt.
Habe mal versucht ihm zu erklären warum es vielleicht nicht so geil ist so zu tun als wäre ein ein und man müsse alles, also , , etc., in EINEN Container packen.
Dass es vielleicht einfacher wäre das in verschiedene Container zu packen.
Sieht er nicht ein.

Er weiß es besser.
Hat er schon immer so gemacht.

Also, was tun?
(Rhetorische Frage)

schizanon, to fediverse
@schizanon@mas.to avatar

I'm working on https://schizo.social again. There's still tons of basic client stuff I could work on, like logout, or rendering boosts, but my goal is to build a client for managing multiple accounts; things like syncing following/mutes/etc. Not really trying to build a client you'd use to read. I want to implement login, but calckey.social is down. Maybe I should start with handling multiple accounts first?

schizanon,
@schizanon@mas.to avatar

First I've got to figure out why my static assets are 500ing half the time. It's probably my slapdash #serviceWorker #caching strategy. I like to use #staleWhileRevalidate because it feels like I should just serve from the #cache if I have something but I don't feel like prompting the user to reload if there's fresh data. It's probably a bad UX though. I find myself reloading the page several times just to make sure I'm looking at fresh data.

chrisonline, to microsoft
@chrisonline@androiddev.social avatar

Missing profile photos in ?

Clear the Teams cache and restart:
Close Microsoft Team.
Press WIN + R and enter %appdata%\Microsoft\Teams.
Delete all files in this folder.
Restart Teams.

YesIKnowIT, to linux
@YesIKnowIT@mastodon.social avatar

Simple and clear article by Nick Congleton about cleaning the DNS cache, whether you're using dnsmask, bind, systemd-resolve or nscd.

https://www.maketecheasier.com/flush-dns-cache-linux/

#DNS #cache #dnsmask #bind #systemd #nscd #linux

FerrariGirlNr1, to geocaching German
@FerrariGirlNr1@norden.social avatar

Der 17-tägige Urlaub geht zu Ende und auch Geocaching-technisch war er sehr erfolgreich.

Funde in 2 neuen Ländern, 8 US-Bundesstaaten und 2 kanadischen Provinzen 😎

#USA #Kanada #Cache #Urlaub #Geocaching @geocaching @geocaching_de @geocaching_norden

winslowjosiah, to webdev
@winslowjosiah@hachyderm.io avatar

You know what really annoys me?

When my phone decides to #cache some parts of my #website and not update them while it's in active #development.

My fancy nav menu shows up on my phone as a standard list of links. Apparently the #CSS isn't updating, but the #HTML is. Weird.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • vwfavf
  • InstantRegret
  • Youngstown
  • ngwrru68w68
  • slotface
  • Durango
  • tacticalgear
  • everett
  • rosin
  • megavids
  • khanakhh
  • osvaldo12
  • mdbf
  • ethstaker
  • GTA5RPClips
  • cisconetworking
  • modclub
  • normalnudes
  • cubers
  • anitta
  • tester
  • Leos
  • JUstTest
  • All magazines