GithubHelp home page GithubHelp logo

Comments (5)

miickel avatar miickel commented on June 23, 2024

Ok, help me out here... what's the point in doing that? For me it would just mean more work, by having to "require" a new module for each template, right? I see no benefit for it, but I leave it here for the community to discuss!

from gulp-angular-templatecache.

nathanosdev avatar nathanosdev commented on June 23, 2024

Maybe the ability to modularize multiple partials together would be nice, and it could have implications for selectively caching modules for different sections of a very large website but the work involved in implementing that as well as configuring it on a per website basis would be impractical.

from gulp-angular-templatecache.

miickel avatar miickel commented on June 23, 2024

@AnimaMundi that's true, but you could still just set up separate gulp tasks to achieve the same thing. Just have templates from module A in folder A, and module B in folder B and you're good to load them separately.

from gulp-angular-templatecache.

nathanosdev avatar nathanosdev commented on June 23, 2024

I guess that answers @stramel question too then!!! I didn't realise you could specify a module title until after I commented I only came across this plugin this morning. I have gone from building sites with a php framework with 2,899 files to around 5 files with javascript, it's insane. Good work on this contribution!

from gulp-angular-templatecache.

nathanosdev avatar nathanosdev commented on June 23, 2024

Never mind, the node_modules folder has 12,000 files.... ah well haha

from gulp-angular-templatecache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.