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 8398407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:02:54+00:00 2026-06-09T21:02:54+00:00

I am using a jquery plugin named facebox. It works very well but I

  • 0

I am using a jquery plugin named facebox. It works very well but I am faced! with an issue. It looks like its iframe method is causing my browser to cach the css that is being loaded in the target page.

This is how I call it in my page in the jquery ready state.

$('a.participate').click( function(){
            $.facebox({
                iframe: '" . $urlparticipate . "',
                rev: 'iframe|550|550'
            });
            return false ;
        });

where $urlparticipate is the url that will open in the iframe.
I looked closer in the facebox.js and I found the following method that seems to be used by the plugin to create the iframe.

function fillFaceboxFromIframe(href, klass, height, width) {
    $.facebox.reveal('<iframe scrolling="auto" marginwidth="0" width="'+width+'" height="' + height + '" frameborder="0" src="' + href + '" marginheight="0"></iframe>', klass)
  }

How can I prevent the css from being cached? I know that is being cached because I change the css style of an element. I even changed some js code that is being loaded and its still loading the old one.

I also tried the following:

  1. Adding in the target page on the front end in the head

    meta http-equiv=”Cache-control” content=”no-cache”

    meta http-equiv=”Pragma” content=”no-cache”

    meta http-equiv=”Expires” content=”0″

  2. I tried to add some headers from code behind (php)

    header(“Cache-Control: no-cache”);

    header(“Pragma: no-cache”);

All with no success..
What am I missing?

  • 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-09T21:02:55+00:00Added an answer on June 9, 2026 at 9:02 pm

    You can always try “versioning” the CSS reference on the page. There are good and not-so-good ways to do it: With a single, static version number you append every time you make a change, or a randomly generated GUID that will effectively force EVERY request to the page to retrieve the CSS file(s). The better option is the static one, like this:

    <link type="text/css" rel="stylesheet" href="cssfile.css?1.12" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a jQuery plugin named jParse to parse an XML file like so:
I am using a jQuery plugin named mobiscroll to select a date, but the
I'm using Supersized jQuery plugin. My images are 1600x672 , but it always resize
Using a jQuery plugin named touchswipe ( Touchswipe http://labs.skinkers.com/touchSwipe/ ) for a website primarily
I am using jQuery ColorPicker Plugin and I would like to use this multiple
i am using validation jQuery plugin and its remote option for check whether user
I am using jQuery Validation plugin ( http://bassistance.de/jquery-plugins/jquery-plugin-validation/ ) I have a very odd
I'm having some trouble using jQuery's plugin Facebox to process some data from a
I'm using jQuery form plugin to upload files. The plugin uses a hidden iframe
i am using a jquery plugin and my code look somthing like this. <script

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.