Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuck
Buy Now
Search - "cache"
-
click click...
*reload*
_________________
| |
| This will be wra|
| |
|_________________|
hm.....
ah...
*hits ctrl+s*
*smiling*
*reloads*
_________________
| |
| This will be wra|
| |
|_________________|
what the f..
..
..
hm....
hm....
aha
ctrl+alt+t
*confidentiality*
sudo sublime /opt/htdocs/learning_css/wrapping_text.html
********
o.O but my code ....it's here.....but why wasn't it showing....
*just to be safe*
ctrl+s
*reload*
_________________
| |
| This will be wra|
| |
|_________________|
meh..... what was I thinking
*wastes time restarting xampp*
*searches CSS everywhere*
*steals working code*
*eyes red as hell*
*it's 3 am*
*after 1hr*
*accidentally reloads*
_________________
| |
| This will be |
| wrapped |
|_________________|
o.O
*blinking in confusion*
what the .... how did it work....
I changed nothing.....
*realises*19 -
Client: "This feature doesn't work! I thought you said it was done?!"
Me: "Please press CTRL+F5 and try again..."
Client: "Okay, great, works now."
A conversation I seem to have on a very regular basis.9 -
Project manager: I thought you said you made sure it was live today! I'm going to have to explain that you're the main issue with why it isn't live to management!
Me: have you cleared your cache?.... (long silence)
I swear it's the new "have you tried turning it off and then on again".2 -
That moment when you've been trying to fix a bug for hours then suddenly realize you've fixed it hours ago but just didn't clear the cache5
-
"There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors." - Phil Karlton3
-
There's not much worse than trying to fix your CSS for half an hour, only to realise that it's a cache issue...10
-
I befriended a much-older dev who's notoriously known for cursing in source code comments.
His best comment was F.I.S.H., which is his cursing acronym for "fucking incredible shitty hack"6 -
Boss: we have to cache everything.
Me: but some parts of the page are dynamic, we can not cache them
Boss: EVERYTHING!!!!
Few days later...
Boss: This part of the page displays the wring content!
---------------------------
Well duh. If content changes with every request caching is probably not a good idea...9 -
Today I asked my client to do "ctrl+f5" to empty browser cache he literally did "ctrl+f+5" and said "it did nothing"7
-
I saw a commit with suspicious code days ago. After warning my immediate superior he ignored me and yesterday proceeded to deploy.
Now we have items in cache for days instead of minutes. I guess next time he will listen to me.5 -
Holy donkey nuts, I get too scared to leaved unpushed code when I take a coffee break.
https://webcache.googleusercontent.com/...19 -
Sometimes we say the customers they have to clear their browser cache but actually we are fixing the bugs they just found while talking with them on the phone.5
-
My school stores everyone's username and passwords (including admins) in plain text on a Windows 2007 server that they remote desktop into.8
-
There are two hard problems in computer science: naming things, cache invalidation and off-by-1 errors4
-
Client: it's not working
Me: clear your cache
Client: what's that
Me:it's a way of cleaning the files of your computer to get new ones.
Client: I cleaned my mac
I mean she literally got cleaning wipes ... and cleaned her computer
P.s I told her all this before and how to many, many times2 -
Fucking cache in browser made me think that code is still working untill I opened it in incognito.6
-
Known IPs for github (add to /etc/hosts)
192.30.253.113 github.com
192.30.253.113 ssh.github.com
more on https://webcache.googleusercontent.com/...9 -
Ok, some @#$#!!@ at my company set the WordPress cache directory to "/" on a Linux server, some other plugin triggered the cache clear and the Apache user was the owner of almost all the WordPress directories of several MU installations, this all happened on a Friday afternoon.3
-
My boss in our northern office literally told my colleague that he'd been refreshing the site several times every few minutes and could clearly see that we hadn't done shit.
Keep in mind that we are heavily cached with Varnish and Drupal Cache on our server, and this guy is never at the office. He was seeing our website from 3 days ago because his browser was retrieving local cache from the last time he was actually there and it was during a time where we had some broken items on the site.
The part that pisses me off most is that not only did he not know to purge his browser cache to see changes, but he thought my coworker was making up hocus-pocus technobabble to "cover for me" by telling him how to clear his cache.
This guy installed AirMail, 8 times on his Mac because he was entering SMTP settings that were literally given to him in screenshots with every step illustrated and every field of configuration available for reference, incorrectly. So yeah I can see how he would be technically capable of micro managing me. Fuck.2 -
Google chrome
Plz come on
Just take the whole c drive for ur cache and stuff...
Dont take my whole ram12 -
Relying on Chrome to remember all my passwords. I have no idea any more what passwords I have chosen for several important sites. Don't even want to think about what happens the day I switch PC or reset that cache somehow.12
-
My damn 50 GB mobile broadband got used up because I did not realise that instead of using a local video for testing my website, I had set the video src to a HD version of Big Buck Bunny and disabled the fucking browser cache!7
-
The answer to all your computer issues (now including the caching issues on websites): Restart your computer5
-
When you change something in the webdesign, the user doesn't see it after refresh and you have to explain 'cache' 😐7
-
I recently interviewed for a job at company where I had 20 minutes to code a solution in python (whose standard library I know nothing about) to a question, which also included googling certain finance-related APIs, with not one but two technical interviewers looking over my shoulder THE ENTIRE TIME.9
-
Clearing the cache.
Tried clearing cms cache
Tried restarting iis
Tried browsing incognito
Tried deleting browser cache...
WHY U STILL SHOW OLD CSS?!?!23 -
Me: *tries to debug JS code for 5434910946th time on colleagues computer*
Me soon after realising: clears cache
Both of us: look down in sorrow5 -
Dear namecheap, I honestly love your service and prices but how in the hell can I see an ip address in the dig of a new domain (url shortener) which I never put or saw there and which doesn't even belong to any server I own/operate?!
DNS cache after the last chance of three days ago, nah, don't think so.
Fucking hell.6 -
Boss wants to scale our webservers because it seems they're having performance/capacity issues....
I'VE BEEN TELLING HIM FOR WEEKS IT'S NOT THE SERVERS!!! IT'S THE FACT THAT EVERY SINGLE QUERY HITS A SINGLE MONGODB... AND NO CACHE EITHER... AND THE DB CANT BE ENTIRELY LOADED INTO MEMORY AS ITS TOO BIG FOR RAM ON A SINGLE SERVER...
HOW THE FUCK CAN YOU SCALE IF EVERYTHING HAS A DEPENDENCY ON 1 NON-DISTRIBUTED DATABASE?6 -
There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.
-- Jeff Atwood5 -
The IT head of my Client's company : You need to explain me what exactly you are doing in the backend and how the IOT devices are connected to the server. And the security protocol too.
Me : But it's already there in the design documents.
IT Head : I know, but I need more details as I need to give a presentation.
Me : (That's the point! You want me to be your teacher!) Okay. I will try.
IT Head : You have to.
Me : (Fuck you) Well, there are four separate servers - cache, db, socket and web. Each of the servers can be configured in a distributed way. You can put some load balancers and connect multiple servers of the same type to a particular load balancer. The database and cache servers need to replicated. The socket and http servers will subscribe to the cache server's updates. The IOT devices will be connected to the socket server via SSL and will publish the updates to a particular topic. The socket server will update the cache server and the http servers which are subscribed to that channel will receive the update notification. Then http server will forward the data to the web portals via web socket. The websockets will also work on SSL to provide security. The cache server also updates the database after a fixed interval.
This is how it works.
IT Head : Can you please give the presentation?
Me : (Fuck you asshole! Now die thinking about this architecture) Nope. I am really busy.11 -
Just got chewed out because someone couldn't see the latest interface changes on the site...
*Walked over to their desk*
Me: "Did you clear your browser's cache?"
Them: "Oh, what does my online banking have to do with the updates?"
Me: *sigh* 😬😬5 -
"We need high performance so cache basically everything, but we also need to see the newest data at all times that's not cached"
Wut? What the fuck are you smoking?!...
Can I have some?3 -
!rant
Me: sudo apt-get update
PC: Noope. There is a problem with a package.
Me: Ugh... ok I'll fix it. *20 minutes later* Fixed. Sudo apt-get update
PC: Noope, the package cache file is corrupted.
Me: GO FUCK YOURSELF LINUX OMFG.
Oh, I fixed it.
I LOVE YOU LINUX.11 -
Less rant, more mildly interesting Java trivia.
Integer i0 = 3; Integer i1 = 3;
Integer i2 = 300; Integer i3 = 300;
i0 == i1 is true as expected
i2 == i3 is actually false
Java caches -128 to 127 Integer objects for faster perf so when you're inside that range, the objects are indeed the same, but because == checks object equality, the Integer outside of the range is not cached and had to be initialized, so i2 and i3 are two different objects.
You can totally break some tests this way :)9 -
I was working on a site just moments ago and everything was fine. Then I move my laptop from my living room to my bedroom and on refreshing the page everything seems broken! Disorganized cards, and everything looks 10x bigger. I panic because I was supposed to deploy it on Thursday and I was just doing some final touches and angular has given me one hell of a time. I fucking rolled back all my commits to yesterday and cleared chromes chrome's cache....still nothing works. Then I realized there's a new button on my address tab and on clicking it is showed I had (accidentally) zoomed in by a fucking 175% when moving the laptop *facepalm*. On resetting it everything was ok. Now I have lost all of today's commits and my chrome cache. One box of tic-tacs down and I still can't overcome my rage... So I wrote this rant 😠😩😩
I need a stress ball😩😩8 -
>Installs NodeJS (from default Debian repo)
>Tries to install yarn
>Yarn tries to uninstall nodejs
Weird
>apt-cache depends yarn
yarn
Recommends: nodejs
Conflicts: nodejs
10/10, gave me a good chuckle. Time to add the NodeJS repo.10 -
First time web developing for real. Didn't realise I needed to clear chrome cache. So much wasted time!5
-
Every time someone compares Golang to Rust an angel falls, a unicorn dies and a Java developer writes another class.
Please stop doing that.8 -
That moment when you clean the cache on android phone with 4GB every time you want to download a new app, even if you have 32GB sdcard
😱😱😱4 -
When you trying to develop a site, you change some CSS, refresh the localhost and it doesn't update. You try changing that CSS value to something more noticeable to see if you're just imagining things. But no, it's your browser cache. Clear it.4
-
I hate setting up case statements cause it's hard to cover every case. What if a virus puts a gun to my programs head? What if my program is at a cache party and chrome offers it weed? What if my program isn't gay, but $20 is $20?2
-
Today,I found this gem:
static function getConfig(){
$cacheKey = 'foobar';
try {
$config = $this->repository->getConfig();
$this->cache->set($cacheKey, $config);
}
catch(Exception $e){
try{
$config = $this->repository->getConfig();
$this->cache->set($cacheKey, $config);
}
catch(Exception $e){}
}
}
I don't want to live on this planet anymore...!8 -
Dev deploys new CSS.
Client: I can't see the changes PANIC.
Dev: clear your cache!
Client: oh that's better. Now can we do that for all user?
Dev:😱5 -
Me, being a lowly junior dev, had the honor of being in a same group chat with a big corporation devOps team.
Finally ready to play with the big boys!!
*opens chat*
DevOps 1: "so we need to remove the CSS cache from our clients computers."
DevOps 2: "ok, well... just delete the server cache"
*watching in awe as they all try to figure out why it's not working*
This continued on for a while...
Until my boss had enough laughs and giggles and put an end to this stupidity :D3 -
Use Cache wisely, otherwise they gonna pile up and no one would like to clean that shitty mess
Pic source: Instagram -
There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.
This is really the stuff I have to deal on daily basis. -
One day after the release of the website of a medium sized travel company, I made a big mistake by accidentally taking it offline for 1 hour during peak usage (~150 simultaneous visitors).
Turns out deleting the wrong image transformation cache folder in production can hang up the PHP process for taking too much load on regenerating image transformations.
The designer of PHP probably took a big load too while creating the first draft.9 -
Called yourself a what? "Chief Technology Officer / Senior Dev" ? For a simple clear cache and cannot do that on your own, you giraffe? Only if I have not pitied you AND YOUR FUCKING EGO, I already sent you a Fucking Love Resignation Letter, you dickhead! You should be ashamed of yourself!!5
-
I don't know why, but each time I have the chance to create a caching system with redis to e.g. cache requests to APIs I get all excited about it.5
-
Spent 4 hours debugging a “button” styling, worked fine locally but not on production.!
After striking out “cache” issues, “browser” versions, “fonts”, “sass errors” the error was with a stupid chrome extension that appended a css class attribute to the “HTML” tag 😡
And the other developer thought that was a part of what was written in the code !!
Hate these kinda plugins that manipulate the DOM 😪
P S the plugin is "Grammarly".2 -
When you keep getting errors even though you're sure that you fixed the problem. Then you realise Chrome still uses the cached JS, no matter how many times you press CTRL + F5. Conclusion: disable the cache in the Dev panel.
-
Long but hilarious:
I was deeply concerned about how we have a single, non-paginated call to a backend service, returning hundreds of entries, which has to be enriched with constant data fetched from our db for each entry. FOR EACH ENTRY. AND FOR EACH REQUEST.
I voiced my concerns to my PM, who called me a "rage prophet" for it.
As expected, the call took 20-something seconds to complete.
Ten minutes before the CEO comes over to have a look, another dev changes his loosely-related service, and the entire super-heavy, sprawling abyss of enrichment pipeline returns in sub-second timing!!!
CEO: guys, this is too fast. You have to slow it down a bit. It doesn't seem reliable that we're able to get all this data immediately.
PM: you see, rage prophet, it all worked out in the end
Me: #$@%$&!!!!!2 -
Spent longer than I'd care to admit trying to find the reason my new features weren't being displayed. All coded fine but hadn't cleared browser cache. It's been a long week!3
-
Me: "You could try using Redis, cache that baby and try and squeeze some speed"
Dev: "Hun?! Should I use it on the front end or the back end?"
Well... Webdev is not his thing to be fair!4 -
Today i found variable called "booleanValue". So it IS true, that there are two hard things in computer science: cache invalidation and naming things...3
-
Fucking non technical managers and their shitty clients to whom they suck their tiny weiners need to realise that I cannot reorder elements every 10 minutes to the shape of their fart comming out of their ass, test it, deploy it, trigger webhook, clear cloudflare cache, and meanwhile be sure that it's written in quality manner for future upkeep with commits that have sense.Hope deadline driven development dies in hell where it belongs
-
If only we could only download the entire internet and cache it in a disk at home
THEN I WOULDN'T HAVE TO FUCKING RECONNECT TO READ SIMPLE DOCUMENTATION EVERY FUCKING TIME MY INTERNET DROPS
I'M NOT DOWNLOADING A MILLION DEPENDENCIES I'M JUST READING STACKOVERFLOW, FIX THE INTERNET FUCK7 -
*Me testing my api with vue.js*
Me: can you please update salesforce content and add new image.
Coworker: Done,image updated:
Me: did you click the sync button? Image seems to be not loading.
Co-worker: why don't you clear your browsing history and clear your cache.
Me: (talking to myself: you are asking me to clear my cache? ME? ME? ME?) Smiles back to coworker.
Co-worker: Did it work?
Me: Nope! Seems to it that you have not sync the content on salesforce. Please hit the sync button.
Co-worker: I did!
Me: I ask co-worker B he said content is not sync.2 -
When your websites start returning 502 errors all of a sudden and you can't figure out why. Clear PHP artisan cache, restart Nginx, make sure PHP-FPM is running. Still 502 errors. Then you find out Cloudflare is down. 😐😐😐
This was me last night.3 -
Web dev prob:
When you modify a code then refresh your browser, It doesn't change anything and you think your code has the problem, Modifies 100+ lines and refreshed the page, still nothing happens. Asked someone about it, Fix? Fucking cache! Fuck you google chrome!10 -
"There are only two hard things in Computer Science: cache invalidation, naming things, and off-by-one errors."1
-
that moment when the client reports a bug on the website, and you ask if they cleared the cache, but you fix the bug in the meantime...6
-
logging in to SO,
used wrong google account,
spent 10 minutes trying to find logout button,
googled the issue,
found the answer on meta SE,
login with google, stuck in the same account,
googled how to switch account,
nothing works,
cleared browser cache,
switched account successfully,
forgot why I'm logging in,3 -
A cache - related bug that gets triggered only at high loads, 10k parallel sessions or so.
Parsing 30GB of logs, trying to find something to work with....
yippee......5 -
Many years ago I was told by a senior dev that caching is one of the hardest things I'll ever come across. At the time I didn't know what he meant, but these past few days I'm starting to understand what he meant. It's not using the cache itself, it's the cache management that is hard. Determining what needs to be cached, when a cache should be invalidated, how long should something be cached etc. It's pretty insane when you start having to compare it with the requirements.1
-
Creating cPanel plugins has been actually a lot more fun project than I imagined.
I created a plugin to bring Varnish Cache to cPanel, I had to learn supervisord, which is actually a neat project in itself and is powerful to contol system processes through software.
But I also had to learn a new language which was Perl, I am glad I did, I actually really like Perl and wish it wasn't so dead.3 -
I was already about to hit my head against the wall: was trying to install nginx all the time, but was greeted by apache default page, over and over again I re-installed the servers, tried connecting directly to the server ip, changed server hardware, picked different distros, manually build from source, did everything possible, even searched the whole system for "apache" and different regex...
It was chrome cache........ after I wiped cache I was greeted by welcome to nginx...... 10 hours wasted.......3 -
I swear to God that if I get one more question tomorrow whose answer is either "clear your cache" or "mvn clean, then rebuild" I am going to lose my shit.2
-
And the shit still runs out of memory and i have no clue why !!!!!!!!!!!!
Increased dalvik cache so that it has more memory nope it doesnt seem to make it bigger even tho it loaded the properties.
Fuck you android.
I mean i love android but porting it is pain.3 -
Was running low on ssd space, so I decided to have a thorough look at what was occupying all of it. First I found out that I had about 5 gigs (!) of leftovers from microsoft sql server which I unfortunately had to use once (thanks microsoft for your shit uninstallers). Then I found I still had a .gradle folder (uninstalled a while ago, maven ftw) with another 5 gigs of cache. That should give me some room to breathe.4
-
Why is it still not working for me?
FOR THE 10TH TIME TODAY CLEAR YOUR FUCKING CACHE!
Sorry what was that?
Clear your cache please.1 -
Caching is a subject, misunderstood by a lot of developers. Optimize then cache, don't cache to optimize.2
-
Modify the front-end code and noting change.
Empty the cache... ✔️ not work
Check xampp open... ✔️ not work
Check my sass compile... ✔️ not work
Compile vuejs webpack... ✔️ not work
Check my laravel route... ✔️ not work
Check with Xdebug... ✔️ not work
Go get coffee... ✔️Not work
See the url on stagging.<website>.ca in my browser ❌
😲🙄😅 Holy fucking retard i am...4 -
I think I still have a 64MB HDD somewhere on a shelf at my late grandpa's house.
Now they make CPUs with caches of that capacity...
o tempora..
EDIT:
FFS! This CPU cache contains >44 floppy disks! I've never even had that many!!!12 -
Why the fuck someone uses ‘2’ instead of “to” in the C code, for naming. What are you, a child?. I have even seen “cache12store” meaning cache 1 to store...5
-
First time doing web development for front end AND back end and I just want to say...
FUCK YOU YOU SHITTY ASS BOLLOCK DRIPPINGLY RETARDING CACHE, WHO YOU LOAD THINGS I NO WANT YOU TO LOAD...WHY THO?...
Well that was 2 hours of my life wasted....8 -
Project managers have been pissing me off immensely today with little anal pixel for pixel changes so I've simply been making their requested changes and then telling them it was already fixed and that they have failed to clear their cache before addressing. Transfer that egg to their face.
-
WHY DOES GOOGLE CHROME CACHE THIS SHIT AND WON'T LOAD IT AGAIN. I THOUGHT I DIDN'T FIX THE BUG BUT GOOGLE CHROME IS THE BUG. THIS FLYING FUCK9
-
Just found this awesome function in the old commits.
def clean_cache():
'''
This function cleans the stored cache in every update. Make sure to call it before every feature addition.
'''
print 'Cache is cleared. '
return2 -
Posted a question on Stack Overflow today for the first time in as long time... Have lost faith, what shit some suggestions people have.
- Clear the cache, check again...🤨
- Your code is wrong, I tested it my way, you need to change.😒
Read the fucking post properly and gauge some level of expertise... I clearly wrote that it WAS working, the bull shit your detailing is completely irrelevant.
Fucking idiots...4 -
WordPress uses 25+ MySQL connections per person. MySQL limit is set to 100. 4 people can bring down a critical component of the company. Only fix is to write custom MySQL connector using PDO and persistence connections. Added a Resistor cache just for good measure.8
-
Please delete your browser cache.
Wtf is up with this shit?
Maybe I'm just having a streak of bad luck, but in recent days, I ran into this particular issue time and time again.
First with one of our own products - the user appearently not always was shown the newest version due to stuff being cached in the browser.
Fair enough, we had our web-dev find a solution to that, which he did. Until this is rolled out, the only resolution is to clear the browser cache.
I also ran into this same issue on multiple other fronts. For example, there's a remote connection to one of our clients I had to establish via browser. The backend was a bit unresponsive, and somehow I ended up in a situation where my login was rejected. The only solution? Clear your browser cache.
Then we have confluence and jira in the company. Same issue. All of a sudden, I could no longer log in. Worked fine in another browser.
Delete your browser cache.
Is it just that most frontend developers out there are incompetent at what they do or is this stuff broken by design? I don't recall having to clear my browser cache very frequently - in fact, I'm pretty sure I haven't done it for years on one of my PCs at home. What changed?
Ah well, maybe it was just a streak of bad luck. But still ...
/Rant7 -
Yesterday, I started a new job yesterday (yay!), and all of us new employees have gotten a laptop and a docking station.
Today, I was standing by the coffee machine, chatting with a fellow dev about different kinds of automation and efficiency techniques , when he suggested swapping-out coffee for caffeine pills, as a means to promote efficiency.
I immediately suggested we use the mouse as a docking station through which caffeine is pumped directly into the bloodstream, as a means to promote automation :)1 -
I fucking hate printers. And printers hate me too.
I've been working as a software engineer for almost seven years now, and not a single day as a printer technician, which does not stop my mother from calling me each time a printer breaks down, as she did today. I hop over to her place, the printer is connected via usb into the ethernet socket, but she swears it's been printing an hour ago, and she hasn't moved a thing. - "weird", I think, "it must be connected wirelessly". Suddenly my sister, who's an Arts major, comes over, saying her printer broke down too - "cool so they're both wifi printers". I reset the router and my sister's printer springs back to life.
But my mom's printer, which is old and in bad shape (the printer, not my mom! assholes...), doesn't. It keeps on displaying a weird error message, and fails to receive any print job, whether wired or wireless.
I spent 15 seconds resetting the router, and 15 minutes troubleshooting mom's printer. Nothing worked.
I finally give up and leave the house.
Not a minute goes by and I receive a "your sister fixed the printer" text from mom.
I fucking hate printers.6 -
If you don't know what clearing cache does to the state of the fatherfucking app then why do you fucking clear it? It fucking breaks the flow. Your maggot-infested ass is then coming up with his own explanation why you cleared the fucking cache. If you don't even have a cunt of an idea why we use the app's local storage, why do you fucking do it? You neanderthal rotten piece of sun-baked shit.
Hey, the app was taking to much time to send the request, so I cleared the app data. Now I have to login again and start over. Maybe check your fucking internet connection?
Fuck you. Fuck your cunt of a face. Fuck. Fuck. Fuck. Fuck. FUCKING FUCK YOU.3 -
Trying to reflect JavaScript changes for about an hour on chrome to eventually realize that cache wasn't cleared..6
-
When you're not getting a 100/100 score on page speed insights, because google analytics script is not leveraging browser cache... (ironically)8
-
Build a docker image.
Adds config file .
Build cache ignores new contents.
Hours of trying to figure the shit out.
Bash into it.
GOD DAMN DOCKER HAS CACHED THE VERY FIRST VERSION OF THE FILE.
Hours lost with headcaches and thinking about existence. Fck my life.9 -
👦🏻 : I Enter office.
🕵🏻 : 8 emails from client with subject line "Urgent Fire! Fix ASAP".
👦🏻 : Opens Application and everything seems normal.
-- Another email 5 mins later --
🕵🏻 : Oops sorry! It was my browser cache.
👦🏻 : 🙄3 -
Upscaling a prod database which was running on an 8 year old Dell desktop used as server. It had about 2MB of RAM and an Intel Core 2 processor...
This was the day I've learned a lot about querying the database as efficient as humanly possible.3 -
Fuck Google Chrome cache.
For almost an hour, sat and tried to make changes to a react UI but unfortunately nothing's changing. Started to worry and doubt myself.
Even thought of getting myself the yellow duck! But fuck no , little did I realise that Chrome "intelligently" fetched my page from cache even though I was using incognito! Had to re-open the browser to realise that.
How did I find out you ask? I thought why not fucking open the same page in Mozilla . Why? Because why not?! But I still can't believe that I wasted a whole fucking hour due to that piece of shit called cache!15 -
Today I spent several hours arguing with a client. Why? Because she's seeing an error on her website, and no matter how many times I explain to her that she's the only one seeing a css misalignment that was fixed this morning, and that she should clear the browser's cache or just use a different one, she refuses to understand that it's not my fault and that the website that's in production is working just fine for her users.
FFS I tested the same thing on Firefox Chrome, chromium, edge and even fucking IE8 on as many OSs as I can, namely Windows 7, Windows 10, Debian, Ubuntu, Android and OSX.
WHY DO YOU KEEP BLAMING ME FOR YOUR BROWSERS CACHE. SHUT THE FUCK UP AND ACCEPT YOU WERE WRONG FOR THE FIRST TIME IN YOUR LIFE.
Uffff, that feels better.2 -
Randomly reviewing a coworker's c++ codebase revealed he was locking at the beginning of a critical section, but explicitly calling unlock for each and every error-handling branching within it. And yes, he forgot to unlock at several places.
That's just not RAIIght. -
I've implemented an in memory caching system for database queries with Redis in one of the blogs I manage.
Will it work well? Or do you think it will produce issues? I have no experience with Redis yet.14 -
I’m a software architect, and my lil brother (he is 19yrs) works fixing computers.
I forgot to pay the internet bill this month and they suspended my signal yesterday, then when try to access any website, we got a ISP page saying that the signal was suspended.
I paid the bill yesterday then they reactivated the signal this morning.
He woke me up saying that the WiFi was working but his computer still stuck on the ISP page.
I said that was cache of the browser and he still boring me saying that was not for the next 2 hours.
I took that computer from him and cleared the cache, and now is working.
My lil brother is a lil dumb.2 -
Being in a university that has an eSports Academy is less exciting when you're part of the team maintaining it weekly... Well, at least the part where we had to set up a local cache server with docker & nginx was fun
-
when you try to stop tracking changes to files you added on git but instead of running the remove from cache command you run the remove from server also command. and it deletes all the cpanel config files and ruins the hosting account.3
-
I have a first date tonight, but production is smoldering and about to catch fire, and it was my doing. I get 5 people coming to my desk every minute asking when's it gonna be fixed. my supervisors think I'm enjoying this because It's delaying a feature. I'm not. I feel like crying, and it shows.3
-
God I hate Liferay.... now I had to make bkend to make ws calls to frontend just to keep LR cache happy. Is there at least one sane soul who likes that thing?1
-
We recently started using a Redis cache for our application, and our boss has now taken to blaming Redis for every single incident we have - all because he doesn't understand how it works, and doesn't want to >.>
-
In Django code, looking at a class for caching REST calls. The cache is using Redis via Django's cache layer. In order to store different sets of parameters, each endpoint gets a "master" cache, that lists the other Redis keys, so they can be deleted when evicting the cache. Something isn't right, though. The cache has steadily increased in size and slowed down since 2014 even though many events clear the whole thing!
... And then it hit me. Nothing empties the list of cache keys. Nothing. So it has been growing endlessly since 2014. And everytime it grows, cache eviction gets a little more expensive, network traffic increases a little more, and cache evictions get a little slower.
Fixing this bug took things that were taking routinely an entire minute to complete and made them take a couple seconds. -
Our site ran into a cache stampede which took down the site for awhile. While people were helping out, I just stayed out of their way since I knew nothing about it -_-
I realise I need to git gud but I can't help feeling inadequate and useless at times like this.
Is perseverance, experience, and passion to keep learning and bettering oneself the only way to being a master?2 -
If literally anything in our system stops working the supervisor's immediate response, regardless of whether it makes sense or not is to tell us to clear the browser cache. There are circumstances where that drives me absolutely up a wall.
-
Can someone explain me why the size of the Facebook app is more than 350 MB on iOS?
And I'm not counting cache e local data (which are more than 50 MB), but only the app.
Any technical explanations?9 -
When you cache index a faster query but your co-worker from other part of the world clears it.... It's been six times now dude2
-
Ugh... Spent the last hour figuring out why my Python script wouldn't send an email. Turns out my computer used a DNS cache that pointed to the wrong name server, but BT (shitty UK ISP) takes fucking forever to update their DNS. And obviously you can't edit the modem's DNS to the Google DNS, because fuck you that's why.
I want Richard's decentralised Internet right now.2 -
I just setup an apt-cache on my Macbook. Docker no longer takes 10 years to `apt-get install` when I'm at the coffee shop. This coffee shop is going to loose so much money now that my work is done faster.
-
What's that? You committed the tmp/dist/cache field for something only YOU run locally and asked me to review it. Just GET OUT.1
-
border-bottom property of a page title div worked perfectly in chrome on windows.. Didn't show up on chrome on Mac for some reason.. Spent three hours... Cleared cache.. Held a ritual to summon satan.. Still didn't show up on Mac. Turns out border color was set as #c7c7c757
-
I gave in...
Chimera N850HK1 15.6'' Full HD IPS Display 1920x1080 Laptop
Processor
Intel® Core™ i7-7700HQ Mobile Processor (4x 2.8GHz/6MB L3 Cache) [N850HK1]
Memory
8GB DDR4-2400
Video Card
NVIDIA GeForce GTX 1050 TI GDDR5 4GB - [N850HK1]
Primary Hard Drive
1 TB 7200rpm Super Slim Laptop Hard Drive - Single Drive2 -
The day my co-worker wraps his mind around Varnish and/or other caching mechanisms will be the day I rejoice unto the lords of the interwebz...undefined ubuntu vcl that's what she said drush live development do it in production varnish drupal cache vickle pickle2
-
As you grow older, both professinally as a dev and as a team player, you realise that a complete rewrite is rarely the better answer to the problem at hand.
With that being said, I'm rewriting the glorified-mass-of-infernal-human-feces-with-corn-bits-masquerading-as-mere-shit out of a production service right now. Wish me luck.2 -
React Native so far today:
1. need external dependency to load svg
2. react-native link doesn't work as it should
3. metro bundler not updating its cache
I wonder if the list will grow or that's it for today... -
Does anyone have problems with Android instant run?
Fucking hell, I spent one hour yesterday debugging an error, until I noticed that the code in the APK wasn't updated, because it was sending an error of a non-existent line.
Sometimes it works okay, but damn...2 -
Oooh I have quite a few,
My favourite: accidently left a log. Debug("bollocks") in a try catch this made it through testing and does (still) occasionally go into production log files.
Worst: wrote an interceptor for jboss with the intent of checking cache for some lookup data. I picked the wrong one of two similarly named methods and instead queried the database, I effectively wrote a denial of service utility into our app -
Just ran disk cleanup. Windows update cache = 3.2 GB.
How the fuck can an OS updater have 3 fucking GB's of cache. God dammit do they put shit in just to mess with my already slow connection?3 -
I know I'm pretty late to the party, but I've been playing with Redis a lot lately and it's pretty awesome. Sorted sets and the various Z functions seem very powerful. I'm hoping to get to use it in a prod environment soon.2
-
There are only 2 hard problems in software:
1. Naming things
2. Cache invalidation
3. Off by 1 errors3 -
Wait, why is nginx communicating from our cache servers to app servers using HTTP1.0? Added http_version 1.1 to a general config. Moments away our responses return 500 on our production because one of our module doesn't handle gzip. If I ever had a heart attack...
-
About half the chats with my line manager is just me being a rubber duck equivalent to him.
M: Can you implement the stuffity stuff like I asked?
Me: *starts typing*
M: Oh nevermind it was cached -
Any recommended free Mac App Uninstaller which uninstalls the app completly including any preferences and cache?7
-
When you carefully compress and cache all your webpage resouces to boost pageloads, but 3rd party social plugins make your website slow as hell.1
-
when you spend way too much time trying to figure out why something isn't working and its because you didn't clear the cache
-
Let's see what's on the menu today:
* Web Application Catastrophe Special *
Includes, but not limited to:
- Orphaned server processes in the configuration management cluster
- Microservice back-end architecture with no API documentation
- Poorly implemented cache microservice with no documentation
- Stale data causing everything to be shown as down in production, despite everything running fine
Cost: 1 developer's sanity -
Managing a small team - poorly.
I was in charge of testing a legacy calculations engine together with two scientists, for whom I set up a python and interop environment so they could test the engine easily.
The two were very excited at the thought of validating the calculations and in fact found many bugs.
I was very supportive, told them to fix the bugs and gave them a pet on the back.
All three of us were happy the legacy engine is shaping up, that's until my boss heard of it, and boy did he grill me hard for it.
Turns out our efforts were highly unappreciated by the client, whose only request was that we test the engine and report the bugs. Not to fix them. My goodwill cost the company a lot of money, since the client paid by the hour, and was now due a refund. Crap.
It took me a year to finally understood the moral of the story. Which is to always respect the client's wishes and convey maximum transparency to him. -
My code doesn't work and I don't know why.
I cleared cache, my code doesn't work, and I still don't know why.
I cleared cache, reloaded vagrant, my code doesn't work, and I still don't know why.
I left my desk, got some coffee, checked devRant, refreshed my browser, my code worked, and I still don't know why!8 -
Solution that worked for me over white screen issue with Origin:
https://answers.ea.com/t5/...
------------
These steps worked for me after trying everything else:
Exit Origin and kill OriginWebHelperService in Task Manager
Delete file openglblacklist.json from C:\Program Files(x86)\Origin\platforms folder
Completely clear these folders:
C:\Users\YOUR_USER_NAME\AppData\Local\origin\origin\cache\QtWebEngine\Default\Cache\ and <C:\Users\YOUR_USER_NAME\AppData\Local\origin\Web Cache\
Delete all folders except LocalContent from C:\ProgramData\Origin\
Delete file OriginThinSetupInternal.exe from C:\Program Files(x86)\Origin\
Restart Origin
----------- -
I once wrote an http interceptor for which was supposed to check the internal cache for user data and only do some work with it if they were (we manually controlled what and who was in cache). There were two methods on the service cGetUser and dGetUser I of course called d which it turned out loaded the user profile from the database which would be fine if it weren't done in an interceptor .. on a web service... With a little over 25000 requests per minute.. on each node..
Tldr. I accidentally wrote a database ddos tool into our app...2 -
Ouch - got my first Windows blue screen in years! (Lacking a picture of it, I stole this one from the interwebs)
Cause: The LITE-ON SSD cache drive. So, can't blame MS for this one, but BSODs are great flamebait regardless of cause.
The SSD was 3 years old, which seems a very short life span for an SSD, unless it's an OCZ.2 -
Always spend an hour debugging your container services before you think to clear the browser cache.4
-
I mistakenly denied while installing virtualbox's driver install dialogue which was set to remember settings, now no option to clear fcking INF cache in windows 10.
FCK windows.4 -
When you spend all afternoon correcting a layout issue only to find the problem was Chromes Super Cache!!!2
-
Our client got mad once because the website we were building didn’t function on the Instagram in-app browser.
I guess it was kinda my fault because it was due to a cached JavaScript file which threw an error on a newer version of the page (that’s when I learned about cache busting) but still, I kinda felt that’s a little ridiculous to get mad about.2 -
If your client is interested in Accelerated Mobile Pages, get it in writing and include a fee for undoing AMP if they don't like it. If you don't update Google's AMP project cache directly with a special URL for each and every blog post and page URL you AMP, Google holds onto the AMP page in its SERPS and CDN for eternity! Even doing the reminded and manual URL update, this stuff can still be around for a month. Ugh.2
-
I am so much into technology and also play CSGO frequently, that sometimes I get a dual image when someone says CACHE.2
-
Client: I've this issue.......
Me: Clear browser cache.
Client: I've that issue.....
Me: Clear browser cache.
____________
Client: My site says "Your hosting account is suspended". I cleared browser cache. Nothing works.
Me: clear YOUR brain cache -
There is a special place in hell reserved for the microsoft guy, who decided it would be a good idea to cache REST calls by default -_-
#why2 -
Noooooooooo 😢
What will I do without stack overflow?
....
Oh yeah, *inserts* "cache:"
Crisis averted 😎 -
!rant
My phone died today...
I was following up on a production ramp-up... Open one of our tracking dashboards through corporate VPN and while loading... It crashed...
Reboot after non-stop reboot... Cleared cache, factory reset... Stabilized for an hour or two and it's crashing again...
I give up... Rest now my friend... You did good, you did good!4 -
!rant
I fucking hate maven and its shitty principles and the pain in the ass it fucking is to fucking use a dependency from another fucking repo that isn't in your fucking artifactory yet and how it can't fucking resolve it even when you downloaded it manually to your fucking m2 cache2 -
My old man used to say there are two hard problems in Computer Science: cache invalidation and naming things. :D5
-
Me: I integrated translations UI into app, so now you can change texts yourself. But keep in mind that for changes to take effect, you need to press on big red button that says “Invalidate cache”.
Client: Wow! That’s so cool, but I think it doesn’t work, because when I change something, nothing happens.
Me: 😔2 -
So... we are changing our cache system to a fastest one.
I suggested an update method (with code samples included) as we currently only manage insert and remove... making impossible any modification of a list in cache without getting the entire list, modifying whatever we want and insert again everything.
Answer: 'It could work, but we want to keep the previous system behavior'
Why. SMH3 -
Name two production service, metrics and logging included, after a famous woman and an armored vehicle.
Dude, no. When those services go down in the middle of the night some poor soul on call duty will have to handle it without the faintest idea wtf is going on.1 -
When you think you suck something it's NOT your fault - learn how it's done in a different language or framework, then come back to it.
When you think you mastered something, it IS your fault - learn how it's done in a different language or framework, then come back to it. -
When you develop a standalone page using JS and the old JS, JQuery libraries interfere with your current libraries!
Delete
Delete
Delete
..
.
..
Open that js file rename
Open that min.js file rename
..
.
..
Still Not working!
Cleared cache ... works like a charm!
Damn you cache and min.js!!! -
Spent half a day creating my CV, some time ago and today it was time to upload it to my site.
Unfortunately, swapped the first and second arguments of the tar command, so the CV file got overwritten with the tarball...
After about ten minutes of panicked searching in my browser cache, I realised that the jetbrains IDEs have local history 😀
So I did not lose half a day's work after all 😃 -
Opinions please.
I want to share a small model in my iOS app. Now on android I'd do with with ViewModelProviders, but on iOS I'm going with SharedDataContainer which is basically a singleton class that store key value data.
Is there any better approach? Data will not be bigger than 10 list items with guid (key) and int (value)
However; when I have big data I do cache on disk or hello OOM exceptions (or whatever they call that bitch on iOS) -
My manager wants me to add a caching layer on top of an API in 30 mins. Even to think about which part of the fucked-up system to cache will take more than 2 hours. How is anyone supposed to do it in 30 mins?
I just gave up after about 4 hours. Gonna sleep and start fresh tomorrow. Pretty sure, I'm not gonna finish it tomorrow either.4 -
Trying to clear the redis cache for like half an hour, wondering why the redis server isn't even being filled with keys...
Then suddenly, FUCK wrong port
2:30 AM is too late for me apparently :( -
Safari refuses to load images on some websites lately.
I thought about resetting the browser / clearing the cache, but this will also result in millions of shitty privacy policy popups bugging me for months.
Honestly, I'm not quite sure if I prefer a broken browser, or useless shit I don't care for... :/7 -
Done this a few times.... Client emails, there's a problem with the website and basic details. I check website and quickly fix said problem. Email back, it's fine for me, try refreshing the page or clearing the cache.
We should have a code name for the old clear cache routine. Any ideas?3 -
Wanted to delete cache for a project. By mistake I deleted cache and vital settings.
The good news is that I make weekly backups, the bad news is that my latest backup is 4500 miles away from here 😓 -
When your colleague saves over your stylesheet wiping out hours of work...
Browser cache came to the rescue but still...5 -
Okay, if I understand correctly, if you want your website to be RGPD compliant, you must wait for user opt-in before storing anything to their device.
Maybe I'm asking myself too much questions but, how exactly does this work for a PWA ? Should you ask user for permission before starting a service worker and/or before caching any content ? If so, what if the user refuses the authorization ? The app is broken ? Or it just fallback to good old http browsing if it's server-rendered ?3 -
Work with css on WordPress and use Chrome too see the changes its a really pain in the ass. Second time cleaning the cache on 2 hours4
-
you know what is the most confusing shit, is that,
> you know the bug
> you know how to solve it
> you know repro it
> bug doesn't repro
> sad life
After trying to repro the bug 50 times I'm sleeping, I mean this need to clear cache only and it should work -
!Rant
Today I figured out how to cache the 'node_modules' folder on all my CircleCI builds, which cut the build time by 4 minutes, about 60%!
👍🍰 -
mobile browsers not refreshing stylesheets.
this is the worst thing that mankind ever did. I mean, when you are trying to design a website and the changes you make to the css are not loaded by the browser, you have no clue wtf is going on. There is no way to make the browser refresh the stylesheet. Reloading, entering the url manually, reopening the tab, restarting the browser, nothing works. The only fix is to manually clear the app's cache in android settings.
The strange thing here is that at first the stylesheet gets refreshed like it should, but after some time the cache seems to be capped and it wont load sh*t...
This is soooo frustrating :(((3 -
MongoDB database with really relational data. One main collection that had refs to four other collections, all of those references necessary to populate data for a page view. Complicated aggregate to populate all the necessary data and then filter based on criteria selected by the user. And then the client decides that he wants the information to be sortable by column. Some of those columns are fields on the main model, no problem. Others are fields on the refs, which is more of a problem. Especially given that these refs aren’t one single object. They’re arrays of objects.
The revelation was that I could just write an aggregate function to flat map the main collection, returning only the fields necessary for the search, and output it to a new collection and instead use that new collection for displaying and filtering/sorting search results.
But you can’t run the aggregate all the time, you surely say. If anything changes in the main collection, it won’t be reflected in the search results!
Mongoose post(‘findOneAndUpdate’) hooks, my friends. Mongoose post(‘findOneAndUpdate’) hooks.
Never been so happy to have a thing working properly in my life.2 -
Do anyone of you use a npm registry server like verdaccio for caching of packages from npmjs.org?
Today I tried verdaccio within a local docker container.
I successfully connected via npm --registry <registry-url> install
There where no errors, but verdaccio kept delivering packages with 200.
Shouldn't it be 304 since the packages already exist in the storage folder of verdacio?14 -
What i'll minded cocksucker decided it was a good idea to let the web application cache MySQL login credentials..3
-
Doing the Full Stack Nanodegree from Udacity
Using Google's oAuth Sign in in my Flask App, I realized that no matter what browser I use, I was unable to logout, Google always threw an error my way. I figured something must be wrong with my code..
Searched on Google, couldn't find anything relevant, gave up on first 4 results(not pages, yeah I'm that lazy!)
Spent 3 hours Debugging at different points, removing all the abstraction I've put in using various libraries (Bad move)
Finally it dawned on to me to check Udacity forum as well. It's a frickin cache/cookie thing. Tried the app in an incognito window, worked like a charm. Reverted code back with all the libraries, worked like a charm again!
FUCK YOU GOOGLE! In your attempts to track users, you're even making our work difficult!
(in hindsight, I should probably be better at asking/looking for help)1 -
All those mine WTF moments are somehow related with caching which i keep on forgetting... the most fresh one was last week, i had some GIGANTIC mySQL query, and for the sake of response time I immediately made a cache function that kept Redis cache for a day or so... so last week i had to change something (good ol' client and his visions for app). So there i was with the query that returned same god damned results every time, i copy the query in some mySQL manager and it goes fine, but in the app it doesn't... what the actual FUCK!!! i was questioning my career until i figured it out, i was planning to buy some sheeps and a fife and to hell with this, a loud facepalm was echoed through the office that day...3
-
Just some free knowledge that I'd like to pass around:
I wanted to free up some space in my MacBook. I checked out different methods.
Here are some methods that helped:
- Go to ~/Library/Caches and try to clean shit up.
- If you have Homebrew, (if you don't, just quit dev already) run `brew cleanup` -- only for people with Macs.
- There's this app called Omnidisksweeper. Check that out.
- Also, indexing Spotlight is something I've heard of but never tried.3 -
TL;DR When talking about caching, is it even worth considering try and br as memory efficient as possible?
Context:
I recently chatted with a developer who wanted to improve a frameworks memory usage. It's a framework creating discord bots, providing hooks to events such as message creation. He compared it too 2 other frameworks, where is ranked last with 240mb memory usage for a bot with around 10.5k users iirc. The best framework memory wise used around 120mb, all running on the same amount of users.
So he set out to reduce the memory consumption of that framework. He alone reduced the memory usage by quite some bit. Then he wanted to try out ttl for the cache or rather cache with expirations times, adding no overhead, besides checking every interval of there are so few records that should be deleted. (Somebody in the chat called that sort of cache a meme. Would be happy , if you coukd also explain why that is so😅).
Afterwards the memory usage droped down to 100mb after a Around 3-5 minutes.
The maintainer of the package won't merge his changes, because sone of them really introduce some stuff that might be troublesome later on, such as modifying the default argument for processes, something along these lines. Haven't looked at these changes.
So I'm asking myself whether it's worth saving that much memory. Because at the end of the day, it's cache. Imo cache can be as big as it wants to be, but should stay within borders and of course return memory of needed. Otherwise there should be no problem.
But maybe I just need other people point of view to consider. The other devs reasoning was simple because "it shouldn't consume that much memory", which doesn't really help, so I'm seeking you guys out😁 -
Loading preview images from a websites articles into thw cache for later use. What could go wrong?
*26 images (80x60) images in my cache folder, most of the corrupted.
"Ok... let's look at the size of this folder"
Size: 112MB
WTF How could this happen!
I'm litterally writing a from a URLConnection to a file.
*Checks data usage
Jup, that amount has been downloaded. Why!?
My dear monthly data ¿_¿ -
Screw AIX! More importantly screw the IBM designer that though cache batteries were a good way to monitize their platform to help validate the service contracts. I guess it "works", but at what cost?
Just lost the last 4 business days going down this rabbit hole with a customer's server.
Edit: Quick note, yes, the customer is on track for a migration soon.8 -
Symfony totally misses the point that a cache is supposed to sit on top of your code and accelerate it, not be an integral part of the software, so you cannot turn it the fuck off!!!
-
So across different apartments, different routers, different notebooks and operating systems, my mother always ran into the issue where she had no internet access until I flushed the DNS-Cache. Never figured out how she achieves this.3
-
Is it just me or is it nearly impossible to get Chrome to dump its cache?
I'm curling a CloudFront distribution from command line and getting a different HTML file to when I clear the cache on Chrome. Firefox browser works fine from fresh install.
Chrome incognito also works3 -
I recently logged into my care provider's online services for the first time, to schedule a doctor's appointment.
The login form requested the usual: username and password - but also a birth date. Which their developers implemented with the default Android datepicker control.
Meaning I had to click 'back' 339 times to get to December 1989.
fuuuuck.2 -
Because of cache split brain issue I have to invalidate cache every 5min. I've said to lead dev about this hack and we both agree to solve it asap.
This was 3 months ago...
Temporary fix becomes production solution. And it only took me 10min to add cron entry to every prod srv.
So productive!
Btw you should see users faces when page referesh changes page completely because of load balancing xD)1 -
Can't set the cache headers in GitHub Pages. Now people are criticizing my old portfolio site. Great. Thanks GitHub.3
-
When you develop a TYPO3 extension and you have to uninstall and then reinstall it because TYPO3 don't have any button for clearing the class cache...
-
And I spent hours trying to see why my code won't fucking work, turns out chrome wasn't doing a very good job at loading my updated files until I cleared the cache1
-
Well, a combination of DXVK, wine and dxvk-cache-pool was used to try and play Path of Exile. The problem seems to be that I can't have any pre-built caches due to them not existing. Seems like a GTX 660 isn't really used anymore and if I want to play a game I will have to have DXVK build its own cache.
Until then, I'm stuck with a stuttery mess of a game due to Path of Exile having a rather many levels. A full playthrough will be necessary until it starts working smoothly.7 -
Just went to update my nextcloud instance, is there an archive of packages for archlinux ARM, nextcloud stable isnt compatible with php 7.2.
I regularly clear /var/cache/pacman/pkg yes i already checked... -
!Rant
Need some help from anyone experience with MEAN.
Do you have a separate cache for data or is Mongo the cache as well?
Basically we have 500GB+ DB of data, how would you architect a MEAN system around it so that it's fast and stable1 -
Having a problem finding the location of a cache directory. So I turn to Google. Everyone says "look in the cache directory" and acts like it should be in some obvious location (which it isn't) but NOBODY, not even the software documentation writers, mentions exactly WHERE this directory is.3
-
That moment you're helping out a colleague with his ticket and stuff isn't working and you ask him.
Hey you do reset your cache right?
On which he replies yes of course I do.
10 minutes later you finally walk over to him and you see his browser open without Dev tools......... -
!rant, so I'm trying to decide on what caching system I should use. It's for a PHP app, using Symfony as framework, tlgether with Doctrine for DB. The caches in Question are memcached, APCu or redis.
The goal: speed shit up.
The app currently uses Symfony 2.8 and is hosted on a single server (so no distributed system is needed). I'd currently opt for APCu, but more since it's not distributed, there won't be an overhead from that. A nice thing about memcached would be the abillity to store user seeions, even if we would decide to have multiple servers in the future.
What would you reccomend and why?3 -
Still on this : https://devrant.com/rants/1430952/...
So I understand that on the framework of the company, to store data in your cache, you use a method, called
Load.
So yeah, that seems kinda okay somehow. But this method is called by another one called GetOrLoad, that will get or load the data.
Is my english bad or is it really ambiguous given that context ?2 -
Feeling bored about Android's cache issue. Since I first use ICS until Marshmallow, I still have to clear app's cache due to lack of space in my phone. :(1
-
Why does symfony freezer the container after compiling it? I understand that because of its shit design they require to pre-compile the container because if they didnt their framework would be the slowest piece of shit ever and nobody would use it, but why freeze the parameter bag?
Load the compiled container from the cache, then let me override and set dynamic variables on top if I want, its just a keystore, so it just seems pedantic, unhelpful and utterly pointless2 -
Spent half a night figuring out, why all my links on my drupal website are located to weird subdomain after migration. Angry; at the morning I realised, that cache system completely gone weird and somehow pointed itself to completely different domain. Thanks drupal1
-
The lack of a meta-language in c# can be a pain in the ass, I have to jump through hoops to generate something like python's decorators, not to mention having to generate il to overcome some limitations of reflection when dealing with value types.
-
Just tried Min https://minbrowser.github.io/min/. Awesome fast, content blocker, easylist, clean as I like it, mounted config & cache to tmpfs. 🙂
Btw: why are the guys at brave.com won't fix this annoying bug https://github.com/brave/.... No sandbox, no brave. 😣 -
Any one thoughts/opinions about Azure Service Bus? I'm using it a few months now in combination with a redis cache, cloud storage and the service bus.. works pretty nice so far..
I'm pretty impressed about the upgrade mechanism.. -
$ sudo rm - Rf /var/cache/pacman/pkg/*
sudo: unable to execute /usr/bin/rm: Argument list too long
$ sudo bash - c "shred /usr/bin/rm & & shred /sbin/sudo"3 -
Is there a good way to refresh user permissions in an ASP.MVC app? Right now our solution is to save the updates and have the user close out of their browser/clear the cache so the updates can take place but wonder if there's a way to refresh the application itself.1
-
After a damn amount of time I've been considering it (a lot of data in there and I'm lazy), I've finally wiped the android clean (dalvik+cache+the rest). Happened exactly what I was expecting:
All in-app errors (even devRant feed) magically disappeared. So, if you experience something like that, don't be lazy and wipe.
Also there's speeding up of the system and other pros of wiping, but those aren't that important like getting rid of errors ^^5 -
Why SQL, why???
I have a proc I need to modify so I add a select into it. Drop the proc and recreate it, run it, new select not giving results.
Modify the select to inverse filter to see what I do have, recreate the proc, run it, still no results...
Run four different cache cleaning queries, still no results from the new select...
Add a "select 1" before the new select, recreate and run the proc and now I have the new 1 and also the other select now has results...
Change the filters back, still getting same results...
Remove the select 1, no results...
What kind of devil cache is this?5 -
i start to believe that cache odd the browser cache is the worst and in the same time most brilliant invention.
because it's a nightmare to serve the right content at times but other time is the perfect escape host for any problem. ;) -
When you're testing a website on the iPhone and in order to clear the cache you have to go through settings menu just to try a fucking tweak out.
Is there any way on the iPhone to do it quickly? < iOS11 you could tap refresh 5 times. ARGHHH2 -
Thank you modpagespeed to use shit methods to compress the source and your amazing work with client side cache. The whole site was fucked up for a day and I didn't notice.
Note: press Ctrl F5 20 times if you tweak anything in js. Even if it's 100% working, pagespeed can fuck it up. Turn that shit off.5 -
Setting Cache-Control headers that are aware of future changes on a given page is freakishly complex. Too bad the Expires header doesn't overrule Cache-Control.1
-
So if only one query on a firestore collection returns 1000 documents, this is considred as 1000 read ?
Or only one ?
Docs say 1000 !
And since the cache os 30min long, if the user came to the same and open it 30sec later, ill be charged for 1000 reads ?
Well well well !2 -
Has anyone noticed that lately Safari renders websites faster?
I have been testing the cache on one of our sites. Been testing with Safari, Chrome, Firefox(Clean no addons) and FirefoxDeveloperEdition. The response time from the server is pretty much identical on all the browsers. But Safari is definitely quicker at rendering it out.
Anyone got a clue why? The only thing i suspect is that safari doesnt have dev tools enabled, so that might be the culprit? -
my favorite is to keep a cache of "gimmes"
the idea is to just keep a collection of tasks that need done bit are super easy and really low priority. the theory is the same as doing a mundane task - you simply mindlessly code through the some tasks allowing you to think through things in a new way and hopefully clearing up your block...
...plus you're still mildly productive -
https://images.weserv.nl/
Image, resize, blur, rotate etc free with cloudlfare cache. Used recently and is quite fast and easy for all.
I guess it can qualify as API -
Caching is cool. But damn it! When it comes to testing it's just a hell of a pain to search and disable every caching found to ensure the result is repeatable.
npm cache, /tmp, ~/.cache, and more, and more! -
Need some media query help on a website I'm developing.
I'm keeping my browser cache clear, checking different browsers, trying different editors for uploading changes but nothing seems to be working.
Firebug is still showing the code as if the files aren't being overwritten with my changes.
If someone wouldn't mind taking a look I'd really appreciate it17