• Resolved V.A.Lucky

    (@valucky)


    Hi,
    I created a small javascript animation for my images. But when I turn on “Page cache”, the animation does not start.
    I don’t know why IntersectionObserver or isIntersecting doesn’t work. I’m a beginner in javascript programming.
    Can you help me what to set or medify to make it work (if it is possible).

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @valucky

    Thank you for reaching out and I am happy to help!
    I’ve checked the website and I can see that the slide animation is working. Can you please share if this is the animation you’ve been working on and if the Page Cache is enabled at the moment?

    Thanks!

    Thread Starter V.A.Lucky

    (@valucky)

    Hello,

    The Page Cache was turned off to make the animation work.

    Now I turn on the Page Cache for you to see the “result”. (You may need to press Ctrl-F5.)

    Thanks.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @valucky

    Thank you for your feedback.
    Can you please share what is the caching method use for Page Cache?

    Thanks!

    Thread Starter V.A.Lucky

    (@valucky)

    The Page Cache setup and parameters: “X” = Set, empty or “-” = Not set

    Page Cache Method: Disk: Enhanced
    
    General
    X Cache posts page
    Don't cache front page
    X Cache feeds: site, categories, tags, comments
    X Cache SSL (HTTPS) requests
    Cache URIs with query string variables
    Cache 404 (not found) pages
    X Don't cache pages for logged in users
    Don't cache pages for following user roles Aliases
    Cache alias hostnames: - Enable
    Additional home URLs: Cache Preload
    X Automatically prime the page cache
    Update interval: 604800 seconds
    Pages per interval: 1
    Sitemap URL:
    Preload the post cache upon publish events Purge Policy: Page Cache
    X Front page
    X Posts page
    X Post page
    X Blog feed
    Post comments pages
    Post author pages
    Post terms pages
    Post comments feed
    Post author feed
    Post terms feeds Daily archive pages
    Monthly archive pages
    Yearly archive pages Specify the feed types to purge:
    rdf
    rss
    X rss2 (default)
    atom
    Purge limit: 10
    Additional pages:
    Purge sitemaps: ([a-z0-9_-]?)sitemap([a-z0-9_-])?.xml REST API
    REST API X Don't cache
    Disable REST API Advanced
    Late initialization: - Enable
    Late caching: - Enable
    Compatibility mode: - Enable
    Charset: - Disable UTF-8 blog charset support
    Reject HEAD requests: - Disable caching of HEAD HTTP requests
    Garbage collection interval: 3600 seconds
    Comment cookie lifetime: 1800 seconds Accepted query strings: (everything remains default)
    Rejected user agents:
    Rejected cookies: wptouch_switch_toggle
    Never cache the following pages:
    wp-.*.php
    index.php
    Never cache pages associated with these categories:
    Never cache pages that use these tags:
    Never cache pages by these authors:
    Never cache pages that use these custom fields:
    Cache exception list:
    wp-comments-popup.php
    wp-links-opml.php
    wp-locations.php Non-trailing slash pages:
    sitemap(index)?.xml(.gz)? ([a-z0-9-]+)?sitemap.xsl
    [a-z0-9_-]+-sitemap([0-9]+)?.xml(.gz)?
    Cache the specified pages even if they don't have trailing slash. Specify page headers:
    Last-Modified
    Content-Type
    X-Pingback
    P3P
    Link Handle XML mime type X Handle XML mime type
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @valucky

    Thank you for your feedback.
    The cache control is set for HTML to 1 year:

    Cache-Control: max-age=31535988, public

    Is there a reason for this? The default value is 1 hour and it’s not recommended to change this.

    Thanks!

    Thread Starter V.A.Lucky

    (@valucky)

    This side is not supposed to change too often.

    I changed the CSS?&?JS, HTML and Media back to 3600.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Animation does not work’ is closed to new replies.