Results 1 to 3 of 3

Thread: server-side cache?

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2010
    Posts
    1

    Default server-side cache?

    Hi,

    It seems that updates to HTML files are not visible in browsers, as if there is a cache on the server that serves old versions of the files.

    To test this, I created a file at:
    /www/quest/cachetest.html

    a simple HTML document with the text "AAAAAAAAAA". I viewed it with this link using Firefox and it looked fine:
    tora.us.fm/quest/cachetest.html

    (Note that the forum system doesn't let me write the "http")

    I then changed the content of the file to "BBBBBBBBBB", and viewed it again; I didn't see my update - I saw the old content.

    I used other browsers - Chrome, and even Lynx - and still got the old contents, which rules out the possibility of browser cache.

    The only way I could view the new content is to add a query string, such as:
    tora.us.fm/quest/cachetest.html?abc

    This behaviour is new - it started at 2010-12-8, 10:00 AM.

    Is there actually a new cache on the server?

    If so, I really appreciate it as it saves download times, but I would like to know how I can circumvent it for documents that have changed, since my links are static and I cannot add a query string to all of them.

    Thank you very much for your great service!

    Erel Segal
    tora.us.fm

  2. #2
    Junior Member Newbie
    Join Date
    Dec 2010
    Posts
    1

    Default

    Caching is the temporary storage of frequently accessed data in higher speed media (typically SRAM or RAM) for more efficient retrieval. Web caching stores frequently used objects closer to the client through browser, proxy, or server caches. By storing "fresh" objects closer to your users, you avoid round trips to the origin server, reducing bandwidth consumption, server load, and most importantly, latency. This article shows how to configure your Apache server for more efficient caching to save bandwidth and improve performance.

    Caching is not just for static sites, even dynamic sites can benefit from caching. Graphics and multimedia typically don't change as frequently as (X)HTML files. Graphics that seldom change like logos, headers, and navigation can be given longer expiration times while resources that change more frequently like XHTML and XML files can be given shorter expiration times. By designing your site with caching in mind, you can target different classes of resources to give them different expiration times with only a few lines of code.

  3. #3
    Member Newbie
    Join Date
    Mar 2010
    Posts
    37

    Default

    Please open a support ticket. There is a cache enabled on the shared hosting servers, but I don't believe your account is on those servers. With a ticket we will be able to identify your account and what might be happening.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •