Welcome to the IMTalk - Internet Marketing & SEO Forum.
  • Login:
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    WebHostWala is offline IM & SEO Whisperer WebHostWala is on a distinguished road
    Join Date
    Mar 2014
    Location
    India
    Posts
    69
    Thanks Given
    0
    Thanked 3 Times in 3 Posts

    Post How to set Browser leverage caching

    Anyone knows how to set browser leverage caching for the below given files?

    http://weloveiconfonts.com/api/?family=entypo (15 minutes)
    http://platform.twitter.com/widgets.js (30 minutes)

    I get these above links while checked in PageSpeed Insights.
    Webhostwala -Shared | Reseller | VPS | Cloud

  2. #2
    wink0r's Avatar
    wink0r is offline Moderator wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold
    Join Date
    Oct 2010
    Location
    East Coast, USA
    Posts
    2,183
    Thanks Given
    941
    Thanked 651 Times in 491 Posts

  3. #3
    jasonhalle is offline IM & SEO Whisperer jasonhalle is on a distinguished road
    Join Date
    Jun 2016
    Location
    India
    Posts
    81
    Thanks Given
    4
    Thanked 1 Time in 1 Post
    First of all why you need browser leverage caching enable, it reduces the load on your web server, which ultimately reduces the load time for your users. To enable browser caching you need to edit your HTTP headers to set expiry times for certain types of files. You want to be careful when enabling browser caching as if you set the parameters too long on certain files, users might not be getting the fresh version of your website after updates.

  4. #4
    WebHostWala is offline IM & SEO Whisperer WebHostWala is on a distinguished road
    Join Date
    Mar 2014
    Location
    India
    Posts
    69
    Thanks Given
    0
    Thanked 3 Times in 3 Posts
    [QUOTE=jasonhalle;108410You want to be careful when enabling browser caching as if you set the parameters too long on certain files, users might not be getting the fresh version of your website after updates.[/QUOTE]



    Is it OK if I set expiry in the below manner ?

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/javascript "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 1 month"
    </IfModule>

    Please suggest if anything is wrong in this.
    Webhostwala -Shared | Reseller | VPS | Cloud

  5. #5
    angelinakcg is offline IM & SEO Whisperer angelinakcg is on a distinguished road
    Join Date
    Nov 2017
    Location
    India
    Posts
    48
    Thanks Given
    0
    Thanked 3 Times in 2 Posts
    Browser leverage caching and increasing the performance by decreasing the web page loading speed is technical issue which needs to be fixed in order to improve user experience.


 

Similar Threads

  1. Case Study: How to Leverage Other People’s Businesses
    By Joozed in forum Link Building General Talk
    Replies: 0
    Last Post: 02-25-2015, 09:57 AM
  2. Replies: 1
    Last Post: 11-07-2013, 02:34 PM
  3. Replies: 1
    Last Post: 03-05-2013, 04:43 AM
  4. How Long Does Caching Take After URL Changes
    By JudderMan in forum General SEO Talk
    Replies: 4
    Last Post: 10-06-2011, 04:37 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts