
07-30-2010, 03:42 AM
|
|
Senior Member
|
|
Join Date: Apr 2010
Posts: 52
|
|
But that controls the browser cache, doesn't it?
I mean serving a static HTML copy of otherwise dynamic content, so we save opcoding and DB querying those pages before sending the HTML to the browser. Like Squid/Varnish or reverse proxies etc. I believe Litespeed Load Balancer offers it too if I read the feature list correctly.
For a first time visitor, even if I set the cache-control headers, then it still only comes into effect on the second page load. I want it so that Litespeed serves a static copy to those.
Basically, I want this but without Varnish, and with LSWS:
http://www.kalenyuk.com.ua/magento-p...-cache-47.html
Based on the user's history/actions, it knows when to set cookies/headers/query strings telling Varnish to show from cache or not to show from cache.
|