Caching and security

DUBZ
DUBZ
Offline
0
Are you planning to use cache album covers?

Now all thumbs is generated each time and overload the server. When generating 50-60 images on the homepage, processor (Core i3) is loaded at 100%!!! What will happen when the site will come a few hundred visitors?

Maybe you have a solution? Ready to participate in beta-test

And these links are not secure:

img src="/components/com_muscol/helpers/image.php?file=/home/blahblah/blahblah/domainname/public_html/images/albums/R-1732535-1239975139.jpeg&width=115&height=" alt="blahblah" title="blahblah"


Everything else I like :3

... and sorry for my english! http://www.joomlamusicsolutions.com/images/fbfiles/images/screen-20120310.jpg
Attachments:
Responses (3)
  • Accepted Answer

    DUBZ
    DUBZ
    Offline
    Saturday, March 10 2012, 09:46 PM - #Permalink
    0
    I will answer to myself

    I replaced


    $image_album = MusColHelper::createThumbnail($album->image, $album->name, $this->params->get('thumb_size_artists_1'), array("title" => $album->name));

    to

    $image_album = JHTML::image('images/albums/thumbs_115/' . $album->image , $album->name , $image_attr );



    I know php-syntax very bad . Somebody, tell me how to add alt and title to the picture in this construction?

    Notice: When I upload the album art in *.png - thumbs not created. Just had to replace them.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, March 11 2012, 12:17 PM - #Permalink
    0
    hello!

    YES thumbnail image caching i comming on the next version of MC, which will be released in just a few days! it improves the system very, very much, and it also allows PNG files.

    you just have to wait a few days...! ;)
    The reply is currently minimized Show
  • Accepted Answer

    DUBZ
    DUBZ
    Offline
    Sunday, March 11 2012, 12:20 PM - #Permalink
    0
    Very good! I'll wait, of course!
    The reply is currently minimized Show
Your Reply