tobi,
July 29, 2002 at 6:10:29 PM CEST
rss and commentcounter macro today, i modified the rss output and the commentcounter macro. rss just got a check if the story title is not null (to avoid it being rendered as string "null"). this is due to the story extension features which allows to leave out the title property completely the commentcounter macro got an additional "as" parameter. with it one can determine whether the output should be rendered as links, generally (ie. no matter how little comments there are) or as text (no links at all). if param.as is missing, only comment amounts > 0 will be rendered as links. is it now smart enough to fulfill any needs? addendum: recent changes today in page.skins. stylesheets and javascript codes from now on are being linked to.
hns,
July 31, 2002 at 6:08:16 PM CEST
External stylesheet and javascript not a winner With the browsers I am using (Mozilla and IE 6.0 on Windows) both external stylesheet and javascript are fetched for each and every page request, making this a step in the wrong direction performance-wise. Things might look different if we could serve script and style files statically, in which case the client could do a If-modified-since request, but since we can't it looks like we should go back to the way we had it before.
tobi,
July 31, 2002 at 6:20:34 PM CEST
why is that? why is it fetched with each request? shouldn't it be cached in your browser? the ones i am using (ie5 mac/windows) do it because i experienced a problem the other way around (old javascript in the cache and new was not loading). what about your browser settings?
hns,
July 31, 2002 at 6:28:19 PM CEST
Don't know I'm using the default settings on both browsers. On Mozilla, that is Compare the page in the cache to the page on the network ( ) Every time I view the page (X) When the page is out of date ( ) Once per session ( ) Never on IE6.0/Win: Neuere Versionen der gespeicherten Seiten suchen: ( ) Bei jedem Zugriff ( ) Bei jedem Start von Internet Explorer (X) Automatisch ( ) Nie
tobi,
July 31, 2002 at 6:56:36 PM CEST
well, i won't hesitate to step back to the former handling if this is not really working. it's a pity because including all the same javascript and css code on all the pages is really extremely redundant and has its performance nuisances, too. do you think there will be a way to do this right, one day? and what will it look like then?
hns,
July 31, 2002 at 7:30:03 PM CEST
what is to render and serve them as static files. That could go hand in hand with fixing the static web directory structure of antville. Currently, we have a directory for images and one for uploaded files, and in each of these we have subdirectories for the single weblogs/sites: /static/images/[weblogname] /static/files/[weblogname] This makes it more complicated than it should be to zip/tar the files belonging to one weblog, and it doesn't give us one place to put static files for weblogs that are not uploaded images/files. What this should look like IMO is this: /static/[weblogname]/images /static/[weblogname]/files Then we could render the stylesheet and javascript files to /static/[weblogname] directory and everything belonging to one weblog would be neatly bundled in one place... Of course it would also increase the number of things to take care of when updating antville.org... PS: I'm right now checking my claim that serving the files from a static location would prevent repeated GETs.
tobi,
July 31, 2002 at 7:38:46 PM CEST
and in the /static/[weblogname] directory we then could deposit file-based skins, too, couldn't we? can the antville paths easily be modified this way or are there any bumpers?
hns,
July 31, 2002 at 8:04:04 PM CEST
I just checked and serving stylesheet/javascript as static files does help. Both browsers stop requesting the files for some time (IE for longer, Mozilla for a shorter period), and when they ask again, they get a 304 not-modified response without the actual files. Regarding the change that would be required in Antville for changing the static file organization: we'd have to rewrite the code that generates the paths for image/file saving and serving. Robert probably knows best how much work that would be. I think the biggest work would be to update the static files of existing installations. We could also put file based skin in that directory, but skins don't need to be accessible via HTTP, so unless we put them there for download that wouldn't make much sense.
Chronistin,
July 31, 2002 at 8:11:33 PM CEST
template-solution? We could also put file based skin in that directory, but skins don't need to be accessible via HTTP, so unless we put them there for download that wouldn't make much sense. but wouldn't up- & downlaodable skins be the solution for the idea of easy template-switching?
tobi,
July 31, 2002 at 8:13:42 PM CEST
won't downloading one's skins be an important step towards exporting a site? and what about "that everything is in one place"? oops, chronistin, that was almost simultaneously...
hns,
July 31, 2002 at 8:29:59 PM CEST
well having file-based skins somewhere where Helma can use them and putting (zipped) files where they can be downloaded are two different things. But it would be a nice things to have static HTTP-directories other than image and files. ... comment
|
The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8550 Days
last updated: 1/4/11, 10:22 AM Youre not logged in ... Login
... home
... topics ... galleries ... Home
... Tags
... Galleries
... about antville ... download ... macros.antville.org ... help.antville.org ... translate antville! ... antville home
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)
|