• milannedev

    (@milannedev)


    I have my images offloaded to S3 I am not sure but I think that may be the problem. But still the caching doesn’t work. It basically doesn’t cache static nor dynamic pages. I looked thru out other tickets and checked if the I have their problem but the page rules are correct they go to the website not the http version. Please help.

    • This topic was modified 4 years ago by milannedev.

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

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

    (@isaumya)

    Hi @milannedev,
    As I can see the caching is not working because of cache-control conflict. Currently there is a cache-control header being added to your requests as cache-control: max-age=0, no-cache, s-maxage=10 on top of the cache-control added by the plugin. Please find out that is adding that and remove it.
    Screenshot: https://i.imgur.com/zChmy72.png

    Thread Starter milannedev

    (@milannedev)

    I solved the problem. I have apache server and NGINX proxy was enabled I disabled it and added code to remove the cache now everything is fine. But the other problem is that only the homepage opens. When I open any other page I have a 404 error even when I open it thru the admin panel. I think it is the worker that cloud flare adds to the url. But I am not sure what it can be. Also Elementor doesn’t load. Basically the caching works just on the main page. And nothing else works

    • This reply was modified 4 years ago by milannedev.
    • This reply was modified 4 years ago by milannedev.
    Plugin Contributor iSaumya

    (@isaumya)

    Hi @milannedev,
    The worker has nothing to do with it. Have you tried resaving your permalink structure?
    Also, I see you are using cdn.yourdomain.com for a lot of requests do note that those requests are not getting served via Cloudflare.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Caching Doesn’t Work On Static And Dynamic Pages’ is closed to new replies.