This topic has 2 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #167811
     toneee
    Participant

    Our client continues to be discouraged w/ this theme because of performance issues.

    Using Google PageSpeed Insights, GT Metrix, etc., we are having trouble with file caching.  We have tried almost every caching plugin per your suggestion. The problem with caching is that BuddyPress is a membership website and outdated content can appear to logged out users. Also, if I understand correctly, caching plugins will attempt to cache entire pages, but not necessarily specific files.

    There are certain files that we can cache such as CSS, js and images and we plan to integrate a CDN for these files soon. However, your theme file fails to natively include expiry dates/maximum age in the HTTP headers for static resources, such as the site logo file, icomoon.ttf, js and css files, and featured images (posts and pages). Can you provide specific instructions on how to set expiry dates on theme items or correct the theme to do this in the theme options or elsewhere? After all, there’s never a time where the site logo will change every few minutes (for example). Even using a caching plugin, I believe your code fails to generate the site logo, font files, etc. without expiry.

    Please advise.

    Attachments:
    You must be logged in to view attached files.
    #167873
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #167963
     Radu
    Moderator

    Hi,

    From my personal experience, the expire date for the resources, in general, can be set from the htaccess not from the theme.

    Take a look here: https://gtmetrix.com/add-expires-headers.html
    and here: https://stackoverflow.com/questions/2676744/set-http-caching-expiration-recommended-by-google-pagespeed
    Using the P3 profiler plugin https://wordpress.org/plugins/p3-profiler/ and run it to can see what it’s the heavy process on your server that causes the high CPU/MEMORY usage.

    https://seventhqueen.com/blog/code-snippets/the-definitive-wordpress-speed-guide-step-by-step-easy.html

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?