Jeff Anderson writes:
> Is there a way in VCL to cache just the base html of a page without
> its parameters? For example:
> /advertproviderformat.html?provider=2342342&foo=3434&bar=34213142
Yes, hook into vcl_hash and modify the hash string as appropriate.
DES
--
Dag-Erling Smørgrav - d...@de
Per Andreas Buer writes:
> "Justin Finkelstein" writes:
> > Thanks; can you tell me where I'd find a list of all of these
> > parameters?
> "man vcl". You can also list them in the CLI.
No, "man varnishd"
DES
--
Dag-Erling Smørgrav - d...@des.no
___
Is there a way in VCL to cache just the base html of a page without
its parameters? For example:
/advertproviderformat.html?provider=2342342&foo=3434&bar=34213142
Is the entire url cached or just the advertprovider.html portion? It seems
the whole url is cached because I observe so many misses f
If I understand correctly how varnish works :
- the expiration thread (exp_timer) only checks the root of the binheap (= the
oldest object currently in cache)
- a worker needing to free some space in the cache will nuke (EXP_NukeOne) the
least recently used object (not taking into account lru_tim
Varnish has already many useful statistics, but it lacks a few to be perfect.
Here is a patch to add :
- n_lru_inserted : number of objets inserted in the LRU (coupled with
n_lru_nuked, it can be a nice way of monitoring cache storage usage)
- esi_included : number of ESI includes found
It als
Aha! Always read the man pages :o)
Thanks!
On Thu, 2009-02-05 at 07:05 +0100, Per Andreas Buer wrote:
> - "Justin Finkelstein" skrev:
>
> > Thanks; can you tell me where I'd find a list of all of these
> > parameters?
>
> "man vcl". You can also list them in the CLI.
>
- "Justin Finkelstein" skrev:
> Thanks; can you tell me where I'd find a list of all of these
> parameters?
"man vcl". You can also list them in the CLI.
--
Per Andreas Buer / Business Area Manager
Redpill Linpro - Changing the Game
___
varnish-m