Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8423989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:52:13+00:00 2026-06-10T03:52:13+00:00

I’m very keen to make use of some build techniques in my Javascript/Web App

  • 0

I’m very keen to make use of some build techniques in my Javascript/Web App development such as

  • Concatentation
  • Minification
  • Image replacement with data:uri’s
  • Build vs Source *
  • App Cache Manifest generation *

It’s those last two that I haven’t found an answer for yet.

Build vs Source

By this I mean having a “source” version of my HTML and Javascript that is untouched so that I do not have to build each time to preview a change. All of my JS files are separate <script> tags as usual with the build vs updating these script sections with the final concatenated versions. To be honest I feel like I’m missing something here with all of these new Javascript build systems as this seems like an obvious need but I can’t find anyone else talking about it. How is everyone else dealing with this?.. Build on each change during development?? surely not.

App Cache Manifest generation

This explains itself – walk through my source tree and build up a manifest and insert it into my <html> tag.

I’ve searched for these two with no luck – any pointers?
I’d be on the road with a killer build system if it wasn’t for those two.

Thanks!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:52:14+00:00Added an answer on June 10, 2026 at 3:52 am

    Re: Build vs Source

    It sounds like you’re already familiar with grunt. You may want to consider looking into the grunt node-build-script plugin.

    It adds a number of new tasks, notably grunt mkdirs and grunt copy which duplicates your project directory into a separate staging folder and then copies your optimised project into a publish folder. If I’m not mistaken, this is what you mean by keeping an ‘untouched’ version of your source files?

    Running grunt server will then serve up the contents of your publish files on localhost. You could always point your web server to your initial project directory if you want to examine your application in its unoptimised state.

    node-build-script adds a bunch of other super convenient tasks, such as image optimisation, automatic file revving and substitution. It’s incredibly easy to use and super customisable.

    I have a basic single page template which uses node-build-script which also may be of interest.

    Re: App Cache Manifest generation

    I believe this used to be part of node-build-script but was since removed, see 1, 2

    There would be nothing stopping you from creating a custom grunt task that utilised something like confess.js however.

    Finally, it looks like Google’s upcoming Yeoman might be worth keeping an eye on if you’re not already!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're building an app, our first using Rails 3, and we're having to build
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I want use html5's new tag to play a wav file (currently only supported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.