• Resolved RL

    (@lutzryan)


    Looking at analytics in Quic.cloud show a 1 to 25 ratio of cacheable to non cacheable dynamic data. And Im at the tail end of a large international event which I promote, and it would be ideal to get this ironed out for the future.

    I use 2 different feeds on my site that update 2x daily. So 2 differnt pairs of plugins across about 200 pages.

    Below are 2 examples of the 2 pairs.
    https://xzib.com/e/design-miami
    https://xzib.com/news/hypeart
    _____
    ESI
    When I add the php code you advise on other threads and Activate ESI shows X-Qc-Cache:hit, but the x-litespeed header is MISSING.

    Does this mean that the Quic.cloud cdn node is working? Or does the lack of x-litespeed mean that there is NO CACHE?
    _____
    In my quic.cloud analytics on quic.cloud.com
    The static asset ratio to dynamic non cachable assets is 1 to 8.
    And the dynamic non cacheable to cacheable to is 1 to 25
    Does this indicate I should use the ESI feature?

    It just seems like a high amount of data bot being cached. And this is during a time when there is alot of activity on my site due to a specific international event in New york. So id love to get this ironed out for future international events. With hopes Google will continue to prioritize my site in search engines

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

Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Support qtwrk

    (@qtwrk)

    hmmm? I am actually seeing like 57% ratio

    that’s normal , when you have QC in front , it will (in most of time) mask the x-litesped-cache header , either x-qc-cache:hit or x-litespeed-cache: hit showing up indicates the cache is working

    not exactly , for dynamic one , you may need to check your server access log , to see what they were accessing , some request may not be cacheable , like request to wp-admin/admin-ajax.php which is widely used

    Thread Starter RL

    (@lutzryan)

    The ratio Im referring to is the data magnitude in kb. Which is what I thought would be more important. ( Perhaps not. )

    Re: header tags:
    @qtwrk In another thread you had written that a lack of an x-litespeed in the header tag meant that that there was no cache at ALL.
    Or did I mis interpret what you had written?

    Did switching on the ESI somehow cause the x-litespeed tags to disappear? And the x-qc-cache:hit to start happening?

    Based on my original query and details am I correct to be using ESI?

    Plugin Support qtwrk

    (@qtwrk)

    no , esi has nothing to do with the header

    with QC CDN in front, for dynamic requests, you will see:

    x-litespeed-cache: miss + x-qc-cache: miss (cache is not stored in origin and CDN , after this request, it will be stored on both )

    x-litespeed-cache: hit + x-qc-cache: miss (cache is on origin but not on CDN, after this request, it will be stored on CDN)

    in rare case , you may see

    x-litespeed-cache: hit/miss + x-qc-cache: hit

    usually when x-qc-cache is present and gives hit , it will mask the x-litespeed-cache header , but as long as you see any of them gives hit , then cache is hit.

    when you not seeing any of them , or x-litespeed-cache-control: no-cache that indicates no cache at all

    Thread Starter RL

    (@lutzryan)

    Ok cool. And thank you for your responses.

    So in my case. I really dont want to add extra complications, however Id love to understand if ESI is a potential tool I need now, or in the future.

    The events I post are all over the world. usually over 4 days when I get bursts of traffic. Thus Im trying to identify if ESI could allow me to obscure the RSS feed from cache. So that they page will stay on the CDN node, or the origin node.

    We are going to start to write Google news optimized articles, and Im trying to identify what content I can build into the page. And if I can prevent the rapidly changing content from breaking the cache.

    Or I could be wayy off on this line of thinking. Please advise any thoughts. I linked to the 2 types of pages with embeds that I think are busting the cache

    Plugin Support qtwrk

    (@qtwrk)

    the use case for ESI is to make whole page still cached, but certain section of this page , to be no-cache , please check this blog https://blog.litespeedtech.com/2017/09/06/wpw-esi-and-litespeed-cache/

    Thread Starter RL

    (@lutzryan)

    Hi.

    Ive read that and every other article I can find on the subject. And it seems it can be applied through modify a shortcode by putting “esi” and ttl=”x” within.

    But when I add those to the shoertcode, it outputs the text and does not execute.

    so before I ask you to help me troubleshoot. Ive been trying to ask if it is prudent to use on a page like this which has content that get fed via RSS 2x per day. https://xzib.com/miami/news

    if it is prudent, can you advise me why its not working when I modify the shortcode.

    I do have the crawler running. However I presume this will help keep things on the node for when there is an event outside of the USA(where my server is located)

    Plugin Support qtwrk

    (@qtwrk)

    what kind of text it output ?

    Thread Starter RL

    (@lutzryan)

    it output the text contained within the shortcode. Instead of executing the shortcode

    [srr_feed merge_feeds=”0″ count=”10″ visible_items=”10″ color_style=”orange” thumbnail_size=”350px” grid_columns=”2″ thumbnail_position=”cover” thumbnail_force=”always” display_type=”grid” urls=”https://aestheticamagazine.com/feed/” tab_titles=”Aesthetica Magazine” template=”%%thumbnail%% %%title%% %%description%% %%metadata%%” show_date=”1″ show_source=”next_date” show_thumb=”1″ rich_desc=”0″ read_more=”0″ show_author=”1″]

    Plugin Support qtwrk

    (@qtwrk)

    it probably won’t work well with multiple-part-shortocde

    if you try a single part shortcode , does it work ?

    Thread Starter RL

    (@lutzryan)

    I use 3 applications of shortcodes.
    An event calendar, RSS feed, and instagram.

    When I test it to a single part shortcode, the “esi” being added outputs the text. When OI remove it, it works correctly.

    Is it possible that it would work with my multi part shortcode with modifications? I would assume the event calendar is

    Plugin Support qtwrk

    (@qtwrk)

    did you enable ESI option ?

    Thread Starter RL

    (@lutzryan)

    yes. Its enabled.

    Plugin Support qtwrk

    (@qtwrk)

    please provide the report number

    and also a test page with single shortcode with ESI

    Thread Starter RL

    (@lutzryan)

    The eventon shortcode on this page is the one which displays proper once the ESI is removed.
    https://xzib.com/test


    LNJXTGQV

    Plugin Support qtwrk

    (@qtwrk)

    from report

    esi = false

    it shows you did not have ESI enabled…

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘ESI, Headers, and Cache ratios per quic.cloud’ is closed to new replies.