0
Welcome Guest! Login
0 items Join Now

CSS compression files

    • Duane Mitchell's Avatar
    • Duane Mitchell
    • Hero Rocketeer
    • Posts: 296
    • Thanks: 5
    • Technology consultant

    CSS compression files

    Posted 12 years 4 months ago
    • I'm collecting these "css-4338fd053d93dd801e69b4aa6b2ab07d.php" files in my template css folder. I assume but not sure if they are the result of the RokGZipper plug-in. Do they clean out after expiration? How do I calculate the expiration?

      BTW, the rokgzipper expiration is 1440 minutes. The php in the file is
      <?php 
      ob_start ("ob_gzhandler");
      header("Content-type: text/css; charset= UTF-8");
      header("Cache-Control: must-revalidate");
      $expires_time = 1440;
      $offset = 60 * $expires_time ;
      $ExpStr = "Expires: " . 
      gmdate("D, d M Y H:i:s",
      time() + $offset) . " GMT";
      header($ExpStr);
                      ?>

      So I assume this works out to be 60 days.

      Thanks.

      Duane Mitchell
    • Next Generation Solutions | www.nxgnsol.com | 617-539-6050
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: CSS compression files

    Posted 12 years 4 months ago
    • Since those files are php files and not css files, expiration time is 1440 minutes and not 60 days :oops:
    • Check my services at: Mihha-Vision
    • Duane Mitchell's Avatar
    • Duane Mitchell
    • Hero Rocketeer
    • Posts: 296
    • Thanks: 5
    • Technology consultant

    Re: CSS compression files

    Posted 12 years 4 months ago
    • Well the file is all css except for the php header I posted. Isn't this how the css is delivered to the browser via the RokGZipper plug-in? And if I read the code correctly it's taking the 1440 and multiplying by 60 which results in an expiration of 60 days.

      Getting back to my original question, why are these not cleaned out after expiration?
    • Next Generation Solutions | www.nxgnsol.com | 617-539-6050
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: CSS compression files

    Posted 12 years 4 months ago
    • No. That is exactly what I am trying to explain. File content is pure css but it is sent as php file. Configuration in rokgzipper should apply
    • Check my services at: Mihha-Vision
    • Duane Mitchell's Avatar
    • Duane Mitchell
    • Hero Rocketeer
    • Posts: 296
    • Thanks: 5
    • Technology consultant

    Re: CSS compression files

    Posted 12 years 4 months ago
    • OK, well I've got about 18 of these files and they date back to 10/30/12 and that is 59 days ago. Maybe just a coincidence.
    • Next Generation Solutions | www.nxgnsol.com | 617-539-6050

Time to create page: 0.075 seconds