I've been debugging a problem for the past few hours.  The root of my
problem seems to be the skipping of bootloader activities when a page
is accessed using the PageStore, ie when a static file is pulled from
the cache.

In particular,

   self.run in class Merb::BootLoader::MimeTypes < Merb::BootLoader

and

  the block in Merb::BootLoader.after_app_loads

get skipped.

I know this because by enabling and disabling caching -- also deleting
the cached files -- and looking at the headers.

On first access of a page, I see "charset=utf-8" in the Content-Type
but once the page is cached and as subsequent requests get served by
the cache, the "charset=utf-8" disappears in the headers.

Same behavior holds true for my own modifications to the html mime
type in "after_app_loads," which add "Content-Encoding: gzip."  I see
on first hit and then it disappears when the request is served from
the cache.


--

You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/merb?hl=en.


Reply via email to