express-expose icon indicating copy to clipboard operation
express-expose copied to clipboard

caching in script files

Open weepy opened this issue 14 years ago • 3 comments

first off, neat project.

If a project had a large of Javascript that was exposed to the client side (e.g. several modules), would it make sense to have these as "script" includes rather than writing them into the page ?

J

weepy avatar Jul 29 '11 16:07 weepy

yeah, definitely, I wouldn't mind getting that in, I suppose at that point it becomes more like browserify so it might be better to keep express-expose for small request specific utils etc

tj avatar Jul 29 '11 17:07 tj

perhaps - tho I like the way expose works better than browserify.

On Fri, Jul 29, 2011 at 6:00 PM, visionmedia < [email protected]>wrote:

yeah, definitely, I wouldn't mind getting that in, I suppose at that point it becomes more like browserify so it might be better to keep express-expose for small request specific utils etc

Reply to this email directly or view it on GitHub: https://github.com/visionmedia/express-expose/issues/7#issuecomment-1682846

weepy avatar Jul 29 '11 19:07 weepy

i haven't used browserify. im generally not a fan of magical scripts since it's not necessarily obvious where they were generated, but might be something worth adding some day

tj avatar Jul 29 '11 19:07 tj