Member
Member
vincent3569   13-03-2018, 13:27
#1

"once upon a time..." when I was using cache stored images tab, all pictures used in my news were cached.
now (and I do not know since when), only one picture in one news is cached.
The result is:


1 cached image reference found.
1 reference re-cached.````

All pictures in other news are cached only when I visit the news.

An example of non cached pictures in a news : http://www.vincentbourganel.fr/news/randonnee-au-rocher-du-playnet-bis-repetita/
The only example of cached pictures in only a news: http://www.vincentbourganel.fr/news/archives-de-mes-courses-d-orientation/

I can't figure where is the matter.
Administrator
Administrator
acrylian   13-03-2018, 14:32
#2

Can't say either right now. But in the future we might change these embedded images to use a marco instead of plain html so this is not an issue anymore.

Did you check if maybe you just see a static html cached page?

Member
Member
vincent3569   13-03-2018, 14:42
#3

of course, I visit my cache folders on server side before asking :-)

Administrator
Administrator
acrylian   13-03-2018, 14:44
#4

Just wanted to be sure ;-)

Member
Member
sbillard   13-03-2018, 17:56
#5

Hi Vincent:

Maybe you have fixed that first page, or maybe I don't understand. When I visited the page all the images appear to be present. Is the problem with the cache manager not finding the images?

Member
Member
vincent3569   14-03-2018, 09:01
#6

hi
step to reproduce:
-I delete the image cache
-I use "cache stored images" of "cache manager": only one image in a news is found and cached
-I have to visit the news to cache the included pictures of my gallery

Notes:

  • "cache images" works well for my gallery
  • most links to pictures in my news have the following structure: `
Administrator
Administrator
acrylian   14-03-2018, 09:03
#7

If you have these urls /cache/album_name/picture_name_wXXX_hYYY_cwZZZ_chKKK_cxLLL_cyMMM.jpg of course the cacheManager does not see them this is the url of an already cached image. If I am not mistaken it looks for image processor urls using i.php.

Member
Member
vincent3569   14-03-2018, 09:30
#8

have a look on the note:

This utility scans the database for images references that have been stored there. If an image processor URI is discovered it will be converted to a cache file URI. If the cache file for the image does not exist, a caching image reference will be made for the image.

in fact, this utility is supposed to look for cache file URI and generate cache image if not exist.

Administrator
Administrator
acrylian   14-03-2018, 10:43
#9

Might be that it does both, as mentioned I haven't looked at the actual code what it does.

As mentioned in the future image (and other things) embedded via tinyMCE will probably use a content macro so statically uncached image url will not happen anymore. This also might have some other advantages. But of course the disadvantage will be that within the editor there will be no preview.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.