Results 1 to 3 of 3

Thread: Cache lifetime modified

  1. #1
    Join Date
    Apr 2010
    Posts
    26

    Default Cache lifetime modified

    Hi,

    How can I modified index.php cache lifetime while the other cache page stay the original cache lifetime?

    Thanks!

  2. #2

    Default

    Hi,

    You can change cache lifetime for index page.

    Open vShare/index.php file find
    Code:
    Cache::init();
    Replace with
    Code:
    Cache::init(3600);
    3600 (60 * 60) = 1 hour.
    7200 (60 * 60 * 2) = 2 hour (vShare default cache lifetime).

    Try it now.

    Thanks,

    Buyscripts Team.

  3. #3
    Join Date
    Apr 2010
    Posts
    26

    Default

    thanks, it works.

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
  •