• Resolved webgorilla

    (@webgorilla)


    Hello. I am very happy with this plugin and I am using it combined with Comet Cache. Did a very good job together.

    Everything works perfectly but after a while my blog page ( which is made with visual composer – posts grid ) doesn’t load anymore the blog posts and the header bar is a bit different.

    If I check or uncheck any of the options of the plugin and save, the posts appear again (for a while).

    Thanks in advance.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, some questions;
    * can you provide your URL?
    * can you make a screenshot of the page when it is broken and upload that somewhere (imgur.com or dropbox or ..) so I can see what is wrong?
    * can you copy/ paste any errors you might have on the browser console when this happens here?
    * can you run your site through a test on https://webpagetest.org/ when this happens and provide me with the resulting test-URL?

    frank

    Thread Starter webgorilla

    (@webgorilla)

    Hello!

    https://ipagemaker.com/news/

    when I wrote the message the blog appeared. Now it doesn’t work again.

    https://ibb.co/iAGvm5 – before
    https://ibb.co/kjwHzQ – now

    There are no errors in console :/

    https://ibb.co/dk7AM5 – webpage test

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ok, the problem is with your HTML containing

    
    data-vc-public-nonce="e16e80390d"

    which is used by visual composer grid to fetch the content. this works, until the nonce expires. if your HTML is cached for longer then the expiry time of that nonce (default in WordPress is 1 day, but it _could_ have shorter lifetime) then WordPress refuses to honor the request.

    So; change Comet cache to cache for less time and all should be fine.

    frank

    Thread Starter webgorilla

    (@webgorilla)

    Thank you for your help.

    So I need to change “Automatic Expiration Time (Max Age)” ? Now it’s set to 7 days.

    • This reply was modified 7 years, 6 months ago by webgorilla.
    • This reply was modified 7 years, 6 months ago by webgorilla.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    So I need to change “Automatic Expiration Time (Max Age)” ? Now it’s set to 7 days.

    yes, if VC uses the default WordPress nonce time-to-live, you will have to change that to 1 day.

    Thread Starter webgorilla

    (@webgorilla)

    I really don’t know if VC uses default WordPress nonce. I’ve set it to 23hours

    Thank you for your help.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome ??

    Thread Starter webgorilla

    (@webgorilla)

    happened the same today :<

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, in that case the VC nonce’s have a smaller time-to-live so you’d need your comet cache to use even shorter time-to-live for items in the page cache? and maybe ask the VC and/or CC devs for assistance as well? ??

    Thread Starter webgorilla

    (@webgorilla)

    I have also this cache in .htaccess – may be the problem coming from this?

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access plus 1 year”
    ExpiresByType image/jpeg “access plus 1 year”
    ExpiresByType image/gif “access plus 1 year”
    ExpiresByType image/png “access plus 1 year”
    ExpiresByType text/css “access plus 1 month”
    ExpiresByType application/pdf “access plus 1 month”
    ExpiresByType text/x-javascript “access plus 1 month”
    ExpiresByType application/x-shockwave-flash “access plus 1 month”
    ExpiresByType image/x-icon “access plus 1 year”
    ExpiresDefault “access plus 2 days”
    </IfModule>
    ## EXPIRES CACHING ##

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    don’t think so … maybe just to be sure clear your browser cache to make sure ExpiresDefault “access plus 2 days” doesn’t result in the page being cached in the browser for 2 days?

    Thread Starter webgorilla

    (@webgorilla)

    Hello. Have found the fix:

    adding this to function.php will fix the nonce problem.

    add_filter(‘vc_grid_get_grid_data_access’,’__return_true’);

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    good to know (& document) @webgorilla, thanks!

    Thread Starter webgorilla

    (@webgorilla)

    welcome, thank you also!

    jobsuno

    (@jobsuno)

    hey there am also facing this issue on my website jobsuno whenever i tried to reload my page website page is not loaded completely white screen appear ??

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘blog page not loading sometimes’ is closed to new replies.