When a visitor opens a page containing media gallery thumbnails (latest items at forum home or previews of media items at gallery home) browser reloads some media gallery thumbnails on that page, even if it already had loaded them earlier. This increases overall page load time and creates additional load on server.
I guess this is because some thumbnail URLs are dynamic (have ?t= changing parameter).
For example, on the first page load a particular thumbnail image source is:
http://www.site.com/data/xengallery/youtube/youtube_xxxxxxxxxx_thumb.jpg?t=1427811341
then on the second visit, same thumbnail image source is:
http://www.site.com/data/xengallery/youtube/youtube_xxxxxxxxxx_thumb.jpg?t=5437611743
So, it's impossible to leverage caching of all thumbnails images via .htaccess.
Can we have static URLs of all thumbnail images, so it would be possible to force browser level caching via .htaccess file?
This problem exists at least with thumbnails of YouTube videos (not all images in gallery).
Media gallery version 1.03.
I guess this is because some thumbnail URLs are dynamic (have ?t= changing parameter).
For example, on the first page load a particular thumbnail image source is:
http://www.site.com/data/xengallery/youtube/youtube_xxxxxxxxxx_thumb.jpg?t=1427811341
then on the second visit, same thumbnail image source is:
http://www.site.com/data/xengallery/youtube/youtube_xxxxxxxxxx_thumb.jpg?t=5437611743
So, it's impossible to leverage caching of all thumbnails images via .htaccess.
Can we have static URLs of all thumbnail images, so it would be possible to force browser level caching via .htaccess file?
This problem exists at least with thumbnails of YouTube videos (not all images in gallery).
Media gallery version 1.03.
Last edited: