Using cookie-free domains for static content

More
8 years 3 months ago #59286 by MikeM
Flexi is positioned as a component for large sites with lots of pictures
Is there a possibility to automatically (!) image hosting component Joomla on different domains?

For example, I manually create a subdomain on my hosting static.domain.com
Depending on the hosting and CPanel installed there I can manage subdomains and bind a subdomain without cookies to the folder /images
And then manually in the templates add images instead of /images/myimage.jpg
here it is:
static.domain.com/myimage.jpg

Is there a possibility that the Flexi is understood himself?

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #59310 by ggppdk
Hello

i am not sure what you suggest / ask
you mean using the pictures in what way , give an example


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #59312 by MikeM
Hello!
Sorry that i not congratulated happy new year!

here it is
lvlup.one/news/22703-vozmozhnost-igrat-n...y-dlya-playstation-4

as you see i create this construction:
Code:
<div class="card-image"> <img class="lazy" data-original="http://static.lvlup.one/images/stories/flexicontent/item_22703_field_19/l_dualshock4zoom.jpg" src="http://static.lvlup.one/images/stories/flexicontent/item_22703_field_19/l_dualshock4zoom.jpg" style="display: block;"> </div>
class="lazy" and data-original="" mean that i use lazyload

I create a subdomain static.lvlup.one and tie it to the folder /images
then in all my custom templates of category, item, module etc i change this
Code:
<img class="lazy" data-original="<?php echo $item->fields['imagenew']->{"display_large_src"};?>" >
for this
Code:
<img class="lazy" data-original="http://static.lvlup.one<?php echo $item->fields['imagenew']->{"display_large_src"};?>" >

no-cookies subdomain gave me the best performance in YSlow and significantly reduced the page loading speed (lazyload accelerates even more :cheer: )

so that's what I want to suggest
first- add the option component, which allows you to use cookie-free domains for images/scripts/styles
secondly - you can add to the component library jquery lazyload

I think it will make the feature even better :)

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #64980 by jrodgar
I´m interested on this too :)

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.283 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline