• It adds

    # LBROWSERCSTART Browser Caching
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType text/javascript “access 1 month”
    ExpiresByType text/html “access 1 month”
    ExpiresByType application/javascript “access 1 month”
    ExpiresByType application/x-javascript “access 1 month”
    ExpiresByType application/xhtml-xml “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresDefault “access 1 month”
    </IfModule>
    # END Caching LBROWSERCEND

    To your htaccess – witch solves most of the problems with browser caching

    • This topic was modified 7 years, 4 months ago by Tasty Sites.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rinku Y

    (@rinkuyadav999)

    Hi @dikus

    This plugin adds caching rules in .htaccess file. you can remove them in .htaccess file, if they broke your website.

    Simply you can remove codes start form : # LBROWSERCSTART Browser Caching
    To: # END Caching LBROWSERCEND

    and then you can deactivate this plugin.

    It works in all Apache server, do not know why it is not working for you.

    Can you please provide more description or your site link.

    Also please create a support topic instead 1 start. your 1 start force me to stop developing free Plugins.

    Thanks

    Thread Starter Tasty Sites

    (@dikus)

    Hello

    It apparently does not work with

    Apache/2.4.10 Unix OpenSSL/1.0.1e-fips mod_bwlimited/1.4

    This is a serious thing – when you activate a plugin and whole website is down – you should PRINT IN RED WITH BIIIIIG WORDS – what a user should do to revers the process manually.

    Please don’t teach me how to rate – if plugin is dangerous everyone should know what can happen – I fixed that myself – but 90% of people probably would flame you till you respond.

    If my servers isn’t Apache and you are right – I’ll make that review go away. If you need any more info I’ll be more than happy to help
    ======================================================================================

    So your plugin adds:

    # LBROWSERCSTART Browser Caching
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType text/javascript “access 1 month”
    ExpiresByType text/html “access 1 month”
    ExpiresByType application/javascript “access 1 month”
    ExpiresByType application/x-javascript “access 1 month”
    ExpiresByType application/xhtml-xml “access 1 month”
    application/pdf “access 1 month”
    application/x-shockwave-flash “access 1 month”
    ExpiresDefault “access 1 month”
    </IfModule>
    # END Caching LBROWSERCEND

    That crashes my site https://www.tastysites.pl

    And this is what I have – that does not work for everything but it does not crash my website
    ## EXPIRES CACHING ##
    <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 text/html “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType text/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 1 month”
    </IfModule>
    ## EXPIRES CACHING ##

    Plugin Author Rinku Y

    (@rinkuyadav999)

    Hi @dikus

    I pointed the ISSUE. ‘ExpiresByType ‘ keyword is missing for ‘pdf’ and ‘x-shockwave-flash’. I do not know, how i missed them. Now i have added it and updated plugin.

    Please update plugin and try now.

    Thank you very much

    Thread Starter Tasty Sites

    (@dikus)

    No problem, now works like a charm – tho it does not resolve issues with

    https://insights.hotjar.com/…01425ad3ead8c13b022c6e0cbfe8d5e3/content (expiration not specified)
    https://insights.hotjar.com/…ent-md5/f234fefe63b6e8923e464ad42235053f (expiration not specified)
    https://static.hotjar.com/c/hotjar-419423.js?sv=5 (60 seconds)
    https://connect.facebook.net/pl_PL/sdk.js (20 minutes)
    https://www.google-analytics.com/ga.js (2 hours)

    Not sure there is a way to solve this manually

    Plugin Author Rinku Y

    (@rinkuyadav999)

    Hi @dikus

    A website can not store any resource of other website in browser. Simply these are resources of other websites so your website can not store them in visitors browser.

    You have to store them in your server and also change location of these files in theme or plugins and then they will automatically store in browser.

    Hope you have understood it perfectly.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Does what it should’ is closed to new replies.