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

  • SEARCH
  • Home
  • 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 4058408
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:04:33+00:00 2026-05-20T15:04:33+00:00

Here is the situation: Some pages on my site use different js files than

  • 0

Here is the situation:

Some pages on my site use different js files than other. For instance:
Page A uses jquery and jqueryui
Page B uses jquery, jqueryui and jquery validation
Page C uses jquery, jqueryui, jquery qtip

Now I have created groups in minify’s groupsConfig.php like this:

'mainjs' => array(
                '//ext/jquery/jquery-1.4.4.min.js',
                '//ext/jquery/ui/jquery-ui-1.8.6.min.js'
                ),
'pageA' = > array(
                '//ext/jquery/jquery-1.4.4.min.js',
                '//ext/jquery/ui/jquery-ui-1.8.6.min.js',
                '//ext/jquery/jquery-validation.js'
                ),

My question is..that if I get different pages to load different js groups doesn’t that sort of defeat the purpose of caching it on the client?

For example one page might load like this /min/g=mainjs while the other one will load /min/g=pageA etc etc.


UPDATE: I may have found a concept for how it should work.. Please see here: http://www.mrclay.org/2008/09/19/minify-21-on-mrclayorg/#comment-101896

Any idea on how to accomplish what the commentator did?

  • 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-05-20T15:04:33+00:00Added an answer on May 20, 2026 at 3:04 pm

    Well here is the work around I came up with.

    1) I created a group called generaljs (for javascript) and a group called generalcss (for css) and basically have all the files I need across the entire site into that.

    2) For other pages such as Page A and Page B and Page C I created respective groups for those called pageajs and pageacss

    3) On pages where I don’t need page A’s javascript and css file I just loaded them at the end of body so it would be ready via cache when the visitor goes to Page A. Rinse and repeat for other pages as well.

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

Sidebar

Related Questions

Here's the situation: We have some generic graphics code that we use for one
Here's the situation, I created 6 pages,each of which has some text fields.I stored
Here is my situation: Page1.aspx redirects to Page2.aspx which does some processing (does not
Here is the situation : Some process writes lines into a fifo file (created
Hello to all I am here facing some situation of detecting url in asp.net
Here is the situation. I have some javascript that looks like this: function onSubmit()
Here's the situation: On a particular branch, some changes have been merged in from
I'm using some jquery to hide list elements when a page is loaded. When
Here's the situation... Site 1) ASP.NET MVC application for customers to login, view and
Okay, here is my situation. I have a page, index.php, which is the mainsite

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.