Skip to content
TORNLIFE More

Images not cached

Started by McNeo [864688] on in Bugs & Issues.

20 replies · 193 views · thread synced · 3 days ago · View on torn.com
About this thread

Posts archived: 21 / 21 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
21
Discussion span
→
Authority score
60 / 100
Historical score
42 / 100
Story score
51 / 100
Engagement score
58 / 100

People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.

Most-liked replies

McNeo [864688]

It seems none of my Torn images cache.

Player icons, casino game images, spin the wheel images, profile images, title bar images, honor bar images... Really, all images do not cache.

Every time I navigate to a new page I see the images loading, like the old school dial-up days.

This would be okay, and expected, the first time I visit a page - but it happens EVERY time even when re-visiting a page, so it seems the images are not caching in my browser.

Chrome
Windows 10 Enterprise LTSB

I have tested in Internet Explorer and it works fine there, so the issue seems to be limited to Chrome. However, I don't experience this on any other site, and I have nothing that would auto-clear my cache or anything like that.
McNeo [864688]

Is there a specific option you want me to check?

They only things I've changed from default is disabling the prediction service (for privacy) and disabling the password and form fill manager, since I use LastPass.
Chedburn [1] Admin Developer

If you're the only one having the issue, it can't be a problem with Torn? You must have disabled caching or something.
McNeo [864688]

Here's my "clear history" screen showing that there's plenty of items in my cache (indicating it's not disabled) along with the relevant content settings showing that it's all enabled.

http://s32.postimg.org/mvfhknq51/capture_004116.png
http://s32.postimg.org/lf3z2in85/capture_004117.png
http://s32.postimg.org/cmn0eu239/capture_004118.png

I can record a gif later once I land to show the images loading - spin the wheel is notorious because there's so many images there.



Mauk [1494436]

He isn't the only one, though. The images are actually cached for a month, but the "?v=xxxxxxxx" changes so frequently we're always downloading them again.

The casino images are the most noticeable, as they are so big.

Edit: This was actually wrong. I probably tested it right when v changed and got confused. Chrome seems to prioritize large images when deleting from the cache, and the casino's sprite images are some of the first to go.
McNeo [864688]

Yay someone else stepping up haha.

If I'm reading this right, the images are caching, but something about them changes so the browser thinks it's new and re-downloads it?
McNeo [864688]

Well, I didn't change anything... But when I went to the wheels today BAM the images were right there - no loading. So, either you changed something or - if not - perhaps there's something on your end you can look at to see why today was different than any other day.
alexanderl [1748546] Admin Staff

It's working perfectly fine for me in Chrome. Can you please try again?
P.S. You can also check cache if you type chrome://cache in browser address bar.
McNeo [864688]

Do you want me to record a video to prove it's happening? Maybe you think I'm lying? I'm not sure what more you want from me.

Mauk actually identified the issue for you above.
McNeo [864688]

Here's a gif of the issue. As you can see once I load the image and go back in right away it works great, but if I come back after a couple hours, then I need to wait for them to load again.

As mentioned in OP, it happens to all images, but the wheels are the best place to demonstrate since the images are larger.

http://daveeverett.net/temp/wheels.gif
alexanderl [1748546] Admin Staff

Thanks for the gif. We update image version during each release (on Tuesday). Will continue to investigate this issue.
McNeo [864688]

Here's the awards screen, too. Yes, this is real-time.

It seems slower today than normal, I am experiencing lag everywhere on Torn though, so that may have something to do with it.

But still, same issue, these images all reload every time I visit the page. (unless this was also fixed with your last reply)

http://daveeverett.net/temp/honors.gif
alexanderl [1748546] Admin Staff

Can you please tell us cache size for Chrome, and increase it if necessary?
Simply close Chrome, right-click your Chrome shortcut, click Properties, and then in the field labeled "Target:", make it look something like this:

"...chrome.exe" --disk-cache-dir="CACHE_DIR" --disk-cache-size=N

Where 'CACHE_DIR' is the new cache location, and 'N' is the cache size limit, in bytes.

Did Chrome cache images after the changes?
McNeo [864688]

I cannot tell you my current cache maximum size, as I'm not finding any way to get that. I can tell you there's currently 129mb in my cache, but I don't know what the max is (and according to Google, I'm not the first person to try to find it).

The steps you provided are to override the default cache size, not to see the current limit.

Additionally, the shortcut in the Windows 10 start menu is a direct link, not a shortcut .lnk, so you cannot specify arguments like this.

Finally, as specified in my OP, I experience this issue even after clearing my cache, so I fully doubt this is the issue.
McNeo [864688]

I also use IE for testing, and I just replicated the issue there, so this is not a Chrome-specific issue. Also, if you see above, at least one other user is also having the same issue.
McNeo [864688]

I cleared my cache and just for the hell of it followed your directions for testing purposes. I set my cache size to 2GB.

When initially visiting I needed to wait for the images to load, which was expected since I had cleared my cache. When I went back to the home page and back to the casino the images showed up right away, which would be expected since they should be cached. But, to further simulate the scenario in OP I waited a few hours, and did other things in the city, and upon returning to the casino the images needed to download again. So, something changed, that my browser thinks the images are different than before, and the only reason for that would be something changing on your end, or the cache expiring.

I don't imagine I'm the only person experiencing this issue, maybe just the only one that cares to say anything.