View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002188 | AJAX/JS | Bug Report - Misc | public | 2014-12-06 12:10 | 2014-12-07 18:17 |
Reporter | michkrol | Assigned To | DerIdiot | ||
Priority | low | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0002188: JS image hover preview loads image with slightly different URL than on entry page - wastes bandwidth | ||||
Description | The recently added JS image preview that shows when you hover any image works as intended, expect for one small detail: when you hover an image it loads properly, but if you then go to the entry's page the image gets loaded again from server instead of browser's cache. I'm fairy sure it's not intended behavior. Upon closer inspection I've noticed the image's URL for the preview and for the image on entry's page is slightly different - the preview image has double slash before the image number, like: http://img7.anidb.net/pics/anime//41075.jpg instead of http://img7.anidb.net/pics/anime/41075.jpg It's only a slight annoyance for me, but probably a major bandwidth waster on server side, since the image gets loaded twice - first time on hover and again when you visit entry page. | ||||
Steps To Reproduce | 1. Clear browser cache. 2. Open anidb's main page. 3. Hover any image of the "hot"/"random" entries. 4. When the image preview gets fully loaded go to the entry's page. 5. The image gets loaded again from the server instead of cache. | ||||
Additional Information | I'm on Windows 8.1 (x64), Opera 26.0.1656.32. This also happens on Firefox 34.0 when I'm not logged in. | ||||
Tags | No tags attached. | ||||