Unable to load image

restored GIF profile pictures (properly compressed this time)

8
Jump in the discussion.

No email address required.

Ummmmm why is it doing this


https://i.rdrama.net/images/17334134537326243.webp

Jump in the discussion.

No email address required.

pillow's compression for gifs is weird with transparent backgrounds, idk how to fix that

Jump in the discussion.

No email address required.

nice you compress all profile pictures , surely your code is now top notch right?

ofcourse not because you still aren't caching shit. for example everytime you load any page you download the same 3 fonts again and again and again. 0,5 mb per pageview.

so yeah clean it up jannie, clean the source up, seems like someone made a dookie messie poppie in the cody , clean it up!

(also goodwork )

Jump in the discussion.

No email address required.

any idea how

Jump in the discussion.

No email address required.

after you GET something the server sends a https packet and in the header is the cache specified. it seems the cache controll header is malformed , you can easily check the response header with google chrome dev cowtools by going network-> click on resource.

for example after getting marseypartygif the response header is;

cache-control: no-cache

cache-control: public

cache-control: maxage=3600

cache-control: public

cache-control: maxage=3600

when it should be something like

cache-control: public, max-age=31536000

so look where you make the header and then fix it

i guess its there around line 100-112

https://github.com/Aevann1/Drama/blob/0bc22fbbfea8c575d3616e1b78287443bbe853aa/drama/routes/static.py

i really dont know any python and these frameworks so i cant help you further., hope it was helpful

Jump in the discussion.

No email address required.

alright thanks king, u have been very helpful

Jump in the discussion.

No email address required.

What the frick did you just fricking say about me, you little rentoid? I'll have you know I graduated top of my class at Wharton, and I've been involved in numerous secret raids on squatters, and I have over 300 confirmed evictions. I am trained in cutting off utilities and I'm the top cable cutter in the entire Beth Shalom Temple. You are nothing to me but just another renthog. I will wipe you the frick out with precision the likes of which has never been seen before on this Earth, mark my fricking words. You think you can get away with saying that shit to me over the Internet? Think again, fricker. As we speak I am contacting my secret network of landlords across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your credit score. You're fricking evicted, kid. I can be anywhere, anytime, and I can evict you in over seven hundred ways, and that's just with my bare hands. Not only am I extensively trained in keeping security deposits, but I have access to the entire arsenal of the landlord association and I will use it to its full extent to wipe your miserable butt off the face of the continent, you little shit. If only you could have known what unholy retribution your little "clever" comment was about to bring down upon you, maybe you would have held your fricking tongue. But you couldn't, you didn't, and now you're paying the price, you goddarn idiot. I will shit fury all over you and you will drown in it. You're fricking homeless, kiddo.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.