Reply to Re: class "thinking" that png i txt

Re: class "thinking" that png i txt new!
by Jorge, 11 years, 8 months ago
I also agree that it is not good to be loading PHP for every style sheet. If you load one PHP page with two dynmiac' style sheets, that's 3 PHP calls for every loaded page, for every visitor. That will add up real quick if/when your website starts to pull traffic.The best thing to do is leave the stylesheets static. If you need to add dynmiac style information, include it in the actual web page in style tags.cigraphics is on the right track for re-generating static style sheets when changes are made to the website, but then you have to worry about browsers caching their CSS sheets because they are expected to be static. I know there are workarounds for that, but why worry about it? Just include any dynmiac content in the main web page.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important