Post by scratch21 » Thu Nov 19, 2020 12:11 am

Hello
I want to ask what should I add to htaccess in order to add leverage browser caching for images that are in a subdomain. I mean the main site is in example.com and the images are at images.example.com
Thank you in advance

New member

Posts

Joined
Wed Apr 03, 2019 12:08 am

Post by IP_CAM » Sat Nov 21, 2020 7:37 am

what should I add to htaccess ....
at best, ask our good friend GOOGIE about it ! :laugh:
https://www.google.com/search?q="levera ... 8&oe=utf-8

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by scratch21 » Mon Nov 23, 2020 9:53 pm

If you can help me with a more specific answer it will be great as I didn't found anything in Google for my case

New member

Posts

Joined
Wed Apr 03, 2019 12:08 am

Post by IP_CAM » Tue Nov 24, 2020 1:26 am

Well, I really am not an .htaccess specialist, but you could try to add that Code below,
it's out of my .htaccess file, and it might do the Job for you ... :D
Good Luck ! ;)
Ernie
(removed again)

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by khnaz35 » Tue Nov 24, 2020 1:28 am

scratch21 wrote:
Mon Nov 23, 2020 9:53 pm
If you can help me with a more specific answer it will be great as I didn't found anything in Google for my case
Read this https://varvy.com/pagespeed/leverage-b ... hing.html

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by victorj » Tue Nov 24, 2020 4:42 am

if you want images in a subdomain in browser cache simply copy your oc htaccess to the subdomain where your images are.

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by scratch21 » Tue Nov 24, 2020 1:38 pm

victorj wrote:
Tue Nov 24, 2020 4:42 am
if you want images in a subdomain in browser cache simply copy your oc htaccess to the subdomain where your images are.
Thank you very much it worked

New member

Posts

Joined
Wed Apr 03, 2019 12:08 am

Post by cedcommerceteam » Tue Nov 24, 2020 1:49 pm

Hello,

Hope you are doing well.

You can have a look at the following link -

https://stackoverflow.com/questions/623 ... rt-website

Thanks!!!!

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool


User avatar
Active Member

Posts

Joined
Wed Aug 09, 2017 9:02 pm

Post by johnsontvc » Tue Nov 24, 2020 7:24 pm

Good post, a lot of stuff in here i did not know about ;D

Newbie

Posts

Joined
Tue Nov 24, 2020 7:19 pm
Who is online

Users browsing this forum: No registered users and 108 guests