• Hi.
    I started using your plugin with WP-Optimize and I have a few questions. I only use the minify feature in WP-Optimize. Do I need to enable “Enable fallback page cache” and “Overwrite the cache-control header for WordPress’s pages using web server rules”? Also, do I need to change another setting for your plugin to work properly with WP-Optimize? Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @agrean,
    You can use WP Optimize for modification. But make sure it does not do any page caching.
    Also inside this plugin you can enable fallback cache as that will help. Also you can enable the “add browser cache rule” option. But I don’t think you need to enable the overwrite cache-control header option unless you are facing any problem with response cache-control header.

    Thread Starter agrean

    (@agrean)

    Thank you for repyl. I have one last question. You said in the previous topic that I need to use javascript fetch / ajax for random post to work. I am using elementor post and do you know how to do this? Thanks.

    Hi @agrean,
    You are right. When a page is cached and being served via CDN, your PHP codes and logic doesn’t get executed and instead the page gets served how it was cached. If you have a random post slider, you cannot u see PHP generate the random posts, instead, you have to use javascript fetch/ajax to pull the posts randomly and show them. As even when a page is cached the JS async calls will work perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Suggest Settings With WP-Optimize’ is closed to new replies.