How to implement content-cache expiry date for specific files in tumblr using meta http-equivHow to force the browser to reload cached CSS/JS files?<meta charset=“utf-8”> vs <meta http-equiv=“Content-Type”>Cloudfront cache-control headers missingHow to save scripts, images and css files into browser cache?Tumblr meta tag “select” content to be “if”?After installing meta-tags gem for rails, how do I edit my m/v/c/ files to use it?Content/Character Encoding - Why Does HTTP Header(Content-Type) Take Precedence Over Meta Tags(Http-Equiv)?Disable browser caching HTML5browser caching on google page speed insights. how is google treating private cache-control?WHy does google insight ask to serve static assets with an efficient cache policy for images with expiry?

"was fiction" vs "were fictions"

Why did Harry Potter get a bedroom?

When an electron changes its spin, or any other intrinsic property, is it still the same electron?

Found and corrected a mistake on someone's else paper -- praxis?

Integer Lists of Noah

Is it possible to set permissions on schema fields to restrict editing of them to certain users?

Why weren't bootable game disks ever a thing on the IBM PC?

Party going through airport security at separate times?

How to drill holes in 3/8" steel plates?

Why does the Antonov AN-225 not have any winglets?

What do three diagonal dots above a letter mean in the "Misal rico de Cisneros" (Spain, 1518)?

Why different specifications for telescopes and binoculars?

Why is a mixture of two normally distributed variables only bimodal if their means differ by at least two times the common standard deviation?

Is system.schedule(...) @AuraEnabled?

Compiler doesn't fail when pushing back a std::unique_ptr into a std::vector

How many tone holes are there actually in different orchestral woodwind instruments?

Why do we need common sense in AI?

Distinguish the explanations of Galadriel's test in LotR

Were Pandaria, Broken Isles, Northrend, Kul'Tiras and Zandalar also affected by the Cataclysm?

Is it okay to use open source code to do an interview task?

What is a "Lear Processor" and how did it work?

WTB Horizon 47c - small crack in the middle of the tire

What minifigure is this?

Efficiently defining a SparseArray function



How to implement content-cache expiry date for specific files in tumblr using meta http-equiv


How to force the browser to reload cached CSS/JS files?<meta charset=“utf-8”> vs <meta http-equiv=“Content-Type”>Cloudfront cache-control headers missingHow to save scripts, images and css files into browser cache?Tumblr meta tag “select” content to be “if”?After installing meta-tags gem for rails, how do I edit my m/v/c/ files to use it?Content/Character Encoding - Why Does HTTP Header(Content-Type) Take Precedence Over Meta Tags(Http-Equiv)?Disable browser caching HTML5browser caching on google page speed insights. how is google treating private cache-control?WHy does google insight ask to serve static assets with an efficient cache policy for images with expiry?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have searched a lot for the syntax to implement content-cache for specific file (such as .js file, .css file, .jpg/.png file) using meta http-equiv tag, but I couldn't find the exact solution.



For example, I want to give cache control to infinitescroll.js file for a period of 30 days. So, what will be the syntax for this? As google pagespeed says "Serve static assets with an efficient cache policy", So, I'm trying to give expiry to specific file using meta tag (from the research, I got to know that it can only be implemented using meta http-equiv). Also, please let me know if there is any other solution to this problem.



Thank you.










share|improve this question




























    0















    I have searched a lot for the syntax to implement content-cache for specific file (such as .js file, .css file, .jpg/.png file) using meta http-equiv tag, but I couldn't find the exact solution.



    For example, I want to give cache control to infinitescroll.js file for a period of 30 days. So, what will be the syntax for this? As google pagespeed says "Serve static assets with an efficient cache policy", So, I'm trying to give expiry to specific file using meta tag (from the research, I got to know that it can only be implemented using meta http-equiv). Also, please let me know if there is any other solution to this problem.



    Thank you.










    share|improve this question
























      0












      0








      0








      I have searched a lot for the syntax to implement content-cache for specific file (such as .js file, .css file, .jpg/.png file) using meta http-equiv tag, but I couldn't find the exact solution.



      For example, I want to give cache control to infinitescroll.js file for a period of 30 days. So, what will be the syntax for this? As google pagespeed says "Serve static assets with an efficient cache policy", So, I'm trying to give expiry to specific file using meta tag (from the research, I got to know that it can only be implemented using meta http-equiv). Also, please let me know if there is any other solution to this problem.



      Thank you.










      share|improve this question














      I have searched a lot for the syntax to implement content-cache for specific file (such as .js file, .css file, .jpg/.png file) using meta http-equiv tag, but I couldn't find the exact solution.



      For example, I want to give cache control to infinitescroll.js file for a period of 30 days. So, what will be the syntax for this? As google pagespeed says "Serve static assets with an efficient cache policy", So, I'm trying to give expiry to specific file using meta tag (from the research, I got to know that it can only be implemented using meta http-equiv). Also, please let me know if there is any other solution to this problem.



      Thank you.







      html css tumblr meta-tags cache-control






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 0:16









      Sachin SintuSachin Sintu

      63 bronze badges




      63 bronze badges






















          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348157%2fhow-to-implement-content-cache-expiry-date-for-specific-files-in-tumblr-using-me%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348157%2fhow-to-implement-content-cache-expiry-date-for-specific-files-in-tumblr-using-me%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript