[Seaside] Patches I use for Production

Philippe Marschall philippe.marschall at gmail.com
Fri Aug 31 20:47:22 UTC 2007

2007/8/30, Sebastian Sastre <ssastre at seaswork.com>:
> Seaside team,
>     I've grouped in a monticello package some stuff I'm using for production
> (parts stable and parts in alpha) that can be shared. Perhaps you may find
> useful ideas and/or implementations to integrate to Seaside. At least I do.
>     Features:
>         -Write libraries files to disk in a custom (image relative)
> subfolder
>         -Writes libraries files Js and Css content from all the files of all
> the libraries of an application in one file (of each kind) with a defined
> version name to minimize http requests.
>         -Allow to specify wich selectors of a library should be exceptions
> to that content grouping (js or css). Usially useful when some Js file is
> giving you errors when using it grouped (at the cost of an extra http
> request).
>         -It adds to the application configuration a boolean to setup if the
> application should be using optimized libraries or not.
>         -You can also could/should say which version of the optimized
> libraries the app should use [*]
>         -Strips the /seaside/ part of applications urls
>     This inproved not only user experience but developers experience also.
>     Should I send this package to...?

I think the best option would be to create a SqueakSource project for
it and a SqueakMap or Universes entry so other people can use it. We
believe static resources like images and style sheets are best handled
by an external web server like Apache so we see no direct need to
include these patches. The first patch has been integrated into
Seaside because it helps the transition from file libraries to static
files (e.g. for Pier).


>     cheers,
> Sebastian Sastre
> [*] Combined with something like apache's expires mod, this allows to do the
> same as Yahoo do inserting the version name in the css and js names to
> guarantee that clients will not see cached content when not (See YSlow rule
> N 3 add expires header).
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list