View Issue Details

IDProjectCategoryView StatusLast Update
0002188AJAX/JSBug Report - Miscpublic2014-12-07 18:17
Reportermichkrol Assigned ToDerIdiot  
PrioritylowSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Summary0002188: JS image hover preview loads image with slightly different URL than on entry page - wastes bandwidth
DescriptionThe 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 Reproduce1. 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 InformationI'm on Windows 8.1 (x64), Opera 26.0.1656.32. This also happens on Firefox 34.0 when I'm not logged in.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-12-06 12:10 michkrol New Issue
2014-12-07 14:03 DerIdiot Status new => resolved
2014-12-07 14:03 DerIdiot Resolution open => fixed
2014-12-07 14:03 DerIdiot Assigned To => DerIdiot