Tagged: ,

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1054112

    Hello,
    I have folowing sys. info:

    1. WordPress version: 4.9.9
    2. Enfold version (child): 1.0 (child/active), 4.0.2 (parent)
    3. Server type: Apache/2.2.22

    I stuck for about two weeks trying to enable browser caching/expirations dates. I use gtmetrix tool (also YSLow, Google Speed ant etc) for testing purposes. All this tools shows me that I have not set the expiration dates/browser caching. I tried to set multiple plugins, tried to add strings to the httaccess file – nothing works.

    In theory I understand that it is not a theme problem. That why I tried to find solution using google. Tried al this available tutorials – nothing works. But
    I have other project at other server with the same server type – and there all works. gtmetrix shows almoust 100%. One difference there are older Enfold theme. I thought may be these new features appeared at new versions of the enfold, blocking somehow httaccess, because i tried so many times and so many different things – nothing works.
    Please help if it possible.

    #1054869

    Hey MAKSIMS,

    Thank you for using Enfold.

    The site is still running on a very old version of the theme, 4.0.2, so it doesn’t have the performance feature, which is available in the latest version of the theme. Please upgrade WordPress to 5.0.2 and the theme to version 4.5.2.

    This article should help: https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow

    Setting a browser cache is quite straight forward because all you need to do is define how long the files (scripts, css, images etc) will stay in the users’ local storage.

    // https://gtmetrix.com/leverage-browser-caching.html

    The article above provides a snippet that will go to your .htaccess file.

    Best regards,
    Ismael

    #1054906

    Hello Ismael,

    thank you for your reaction. Ok, I will do all this steps. Will see if it helps.

    Also, if it possible, don’t close this thread for a while.

    • This reply was modified 5 years, 3 months ago by Max Miko.
    #1055610

    Hi MaxMiko,

    Please let us know how it worked for you.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1059954

    Hi Victoria,
    I updated Enfold, WP, all plugins made some customizations at Performance section of the Theme Options. It gave me some more points at gtmetrix, but still can’t to enable browser caching mechanism. At the moment go through article Ismael gave me. Will update after it will done.

    #1059968

    Ismael,
    actually it is not my first time to enable browser caching. What’s done for now:

    1. Enfold is updated
    2. WP is updated
    3. Browser caching enabling snippets are tried from multiple sources
    4. Tried disable plugins and test – no luck
    5. Tried to to leave at .htaccess just basic WP records and browser caching snippet – no luck
    6. All plugins also updated
    7. Your links are processed, snippets tested – no luck
    all this steps give no result in one single factor of all – leverage browser caching it is 4 of 100 now :(

    Update: I tried another WP+Enfold page which leaves at the same virtual server – even there “browser caching” gives out 49%

    • This reply was modified 5 years, 2 months ago by Max Miko.
    #1060399

    Hi,

    Thanks for the update. Can you post the content of the .htaccess file on pastebin.com? We would like to check it.

    Best regards,
    Ismael

    #1060404

    Hi,
    I would appreciate if you would. Here is the link: https://pastebin.com/0frLH63X

    #1060944

    Hi,

    I forgot to ask for the site url. Please add it in the private field along with the login credentials so that we can tweak the settings if necessary.

    Best regards,
    Ismael

    #1060958

    Left site url at Private Content block

    #1062461

    Hi,

    Can we access the site? We would like to check the settings.

    Best regards,
    Ismael

    #1062586

    Yes, please (below):

    #1063430

    Hi,

    I think it’s not working because of the server configuration. Please ask your hosting provider if the mod_expires module is enabled and tell them to upgrade PHP from 5.4 to version 5.6 or 7. The theme requires version 5.6 or higher.

    Best regards,
    Ismael

    #1063565

    Hi,

    thank you Ismael for your time. Appreciate it, thanks to your investigation I got all factors at green zone using GTMETRIX. We enable mod_expires and it works. They asks for money for upgrade PHP but it is another question.
    Thank you one more time.

    #1063966

    Hi,

    You’re welcome. Glad it’s working now. That module should be enabled in your server by default though, but it’s none of my business. Let us know if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Unable to set browser caching.May be because of theme?’ is closed to new replies.