• Hello,

    i am facing serious issues with my website which is undergoing 500 errors because of the site exhaust RAM memory. My hosting told me it’s because the server is not able to cache the site. I have made a check with a “Check Caching” plugin and this are the results:

    Nginx caching service is running but is unable to cache your site.

    No Cache Header: The header Cache-Control is returning “no-cache”, which means visitors will never get cached pages.

    Pragma Headers: The header Pragma is set to to “no-cache” which means visitors will never get cached content.

    Cookies Found: Cookies have been detected. Unless your caching service is configured properly for the specific cookies, it may not cache properly. Please contact your webhost or administrator with information about the cookies found.

    Cookie: PHP Sessions A plugin or theme is setting a PHP session cookie on every pageload, which prevents caching.

    I don’t even know where to start and how to solve this problem…looking for some help here.
    Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Have you tried installing any caching plugins?

    Thread Starter andreasyeah

    (@andreasyeah)

    Yes i have, the server uses also a cache plugin which is not working, as i understood this is caused by a
    cookie and a no-cache rule being set by plugins. I have found out which is the plugin but i dont know how to change or fix it

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’ve never heard of a host saying this…

    What plugin has your host installed?

    Thread Starter andreasyeah

    (@andreasyeah)

    Hi Steven this is the integral email i’ve got from my host:

    `Hello, Andreas

    The main problem on carrozzieri-italiani.com is that the server is not
    able to cache the site. Because of this the site exhaust the RAM memory
    easily. This is the report from our caching plugin:

    Cache Service| Warning | Nginx caching service is running but is unable
    to cache your site.

    The HTTP headers include a no-cache rule and a cookie:

    expires: Thu, 19 Nov 1981 08:52:00 GMT
    cache-control: no-store, no-cache, must-revalidate
    pragma: no-cache
    set-cookie: PHPSESSID=b5cfceee96727957fb5d36831bb09044; path=/

    The no-cache rule could be set by cookie-law-info or webp-express and the
    cookie from auto-listings-pro. You can test the plugins by disabling them
    and running the caching plugin ‘Check caching’ function:
    https://help.dreamhost.com/hc/en-us/articles/215300647

    Once you know which plugin it is you can reach out the developers for a
    workaround. Normally with the cookie you’d want to keep your site
    starting them only for logged in users.`

    Now i have analized the 3 plugin that may gave caused the issue: probably its auto-listing-pro. But how can i deactivate the no cache rule?

    Your web host suggested that you may want to block the cookie for visitors that are not logged-in.
    However, if the purpose of that plugin is to show dynamic content to any visitor, then enabling whole-page cache on your site will simply stop the site from working correctly.
    So you may instead need to look into how you can make your site work more efficiently by checking that data is stored, indexed, and queried in an optimal way.

    For instance, some plugins for handling various additional data store the data using post-meta values, which may lead to quite heavy lifting for the database when you have a lot of data. Since that plugin appears to be commercial software that is not available here at www.remarpro.com, we, the volunteers here, can’t really help you with this, since we simply don’t have access to the code.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cache issues with my wordpress site’ is closed to new replies.